Merge pull request #2485 from jamesray1/patch-21

Update frequently-asked-questions.rst with a ref to getter functions
This commit is contained in:
chriseth 2017-08-11 18:26:14 +02:00 committed by GitHub
commit a0f9e8e778

View File

@ -658,7 +658,7 @@ Not yet, as this requires two levels of dynamic arrays (``string`` is a dynamic
If you issue a call for an array, it is possible to retrieve the whole array? Or must you write a helper function for that? If you issue a call for an array, it is possible to retrieve the whole array? Or must you write a helper function for that?
=========================================================================================================================== ===========================================================================================================================
The automatic getter function for a public state variable of array type only returns The automatic :ref:`getter function<getter-functions>` for a public state variable of array type only returns
individual elements. If you want to return the complete array, you have to individual elements. If you want to return the complete array, you have to
manually write a function to do that. manually write a function to do that.