mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
adopt cameel's version
This commit is contained in:
parent
aa37cc526a
commit
9a847deaee
@ -51,8 +51,9 @@ code that manages the database. In this example, the contract defines the
|
||||
functions ``set`` and ``get`` that can be used to modify
|
||||
or retrieve the value of the variable.
|
||||
|
||||
To access a state variable, you can not prefix with ``this.`` as is common in
|
||||
other languages.
|
||||
To access a state variable, you do not typically add the ``this.`` prefix.
|
||||
Unlike in some other languages, omitting it is not just a matter of style,
|
||||
it results in a completely different operation.
|
||||
|
||||
This contract does not do much yet apart from (due to the infrastructure
|
||||
built by Ethereum) allowing anyone to store a single number that is accessible by
|
||||
|
Loading…
Reference in New Issue
Block a user