mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
can not prefix with `this.
`
This commit is contained in:
parent
7d8a4e63d8
commit
aa37cc526a
@ -51,7 +51,7 @@ code that manages the database. In this example, the contract defines the
|
|||||||
functions ``set`` and ``get`` that can be used to modify
|
functions ``set`` and ``get`` that can be used to modify
|
||||||
or retrieve the value of the variable.
|
or retrieve the value of the variable.
|
||||||
|
|
||||||
To access a state variable, you do not need the prefix ``this.`` as is common in
|
To access a state variable, you can not prefix with ``this.`` as is common in
|
||||||
other languages.
|
other languages.
|
||||||
|
|
||||||
This contract does not do much yet apart from (due to the infrastructure
|
This contract does not do much yet apart from (due to the infrastructure
|
||||||
|
Loading…
Reference in New Issue
Block a user