Update contracts.rst

This commit is contained in:
uberlaufer 2016-03-10 20:55:53 +01:00
parent ec3800b28e
commit 770d509af6

View File

@ -184,10 +184,9 @@ return parameter list for functions.
uint public data; uint public data;
} }
Other contracts can call `c.data()` to retrieve the value of Other contracts can call `c.data()` to retrieve the value of data in state
data in state storage, but are not able to call `f`. storage, but are not able to call `f`. Contracts derived from `c` can call
Contracts derived from `c` can call `setData` to alter the `setData` to alter the value of `data` (but only in their own state).
value of `data` (but only in their own state).
.. index:: ! accessor;function, ! function;accessor .. index:: ! accessor;function, ! function;accessor