solidity/docs
Chim Kan b5d2a4ecd7 Adding storage into the pointer for Voter delegate
Hi,

The example from https://github.com/ethereum/solidity/blob/develop/docs/solidity-by-example.rst is not working. 

It keeps giving this error in the Mist program:

     Could not compile source code. 

     Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
            Voter delegate = voters[to];
            ^------------^

The solution is just to add the keyword "storage" and then the example works again.
2017-08-23 20:25:12 -04:00
..
utils Add missing keywords to documentation lexer 2017-08-16 21:24:20 +01:00
abi-spec.rst Document view functions 2017-08-22 18:25:46 +01:00
assembly.rst Merge pull request #2664 from joshuahannan/develop 2017-08-15 17:45:44 +02:00
bugs_by_version.json Update changelog. 2017-08-08 15:56:52 +02:00
bugs.json Add bug.json entry for delegatecall 2017-08-01 20:51:45 +01:00
bugs.rst Update bugs.rst 2017-04-18 12:20:39 +02:00
common-patterns.rst Cleanup to make the docs more consistent. 2017-05-03 12:03:02 +02:00
conf.py Take documentation version numbers from CMake 2017-02-06 16:00:29 +00:00
contracts.rst Document view functions 2017-08-22 18:25:46 +01:00
contributing.rst Update contributing.rst 2017-07-04 23:46:07 -05:00
control-structures.rst Add warning that low-level call/callcode/delegatecall don't check for existence 2017-08-01 20:51:52 +01:00
frequently-asked-questions.rst Merge pull request #2485 from jamesray1/patch-21 2017-08-11 18:26:14 +02:00
grammar.txt Update grammar with view 2017-08-22 18:24:22 +01:00
index.rst Moved Ethereum Studio to Discontinued section as suggested 2017-07-25 16:56:18 +01:00
installing-solidity.rst docs: Add a note about CMake options 2017-08-22 22:50:25 +02:00
introduction-to-smart-contracts.rst docs typo: remove duplicate period and unnecessary spaces in intro 2017-08-12 15:43:41 -07:00
layout-of-source-files.rst Enable more examples in the documentation for testing 2017-07-19 00:05:05 +01:00
logo.svg Import logo from browser-solidity#16e74469 2017-06-05 11:20:35 +01:00
make.bat Imported documentation. 2015-12-07 22:35:51 +01:00
Makefile Imported documentation. 2015-12-07 22:35:51 +01:00
miscellaneous.rst Document view functions 2017-08-22 18:25:46 +01:00
security-considerations.rst Merge pull request #2636 from ethereum/docs-random 2017-07-27 11:30:12 +02:00
solidity-by-example.rst Adding storage into the pointer for Voter delegate 2017-08-23 20:25:12 -04:00
solidity-in-depth.rst Assembly definition. 2017-01-03 14:13:49 +01:00
structure-of-a-contract.rst Update common-patterns.rst 2017-05-03 12:03:02 +02:00
style-guide.rst Fix inconsistent use of single backticks 2017-03-15 23:41:02 +00:00
types.rst Introduce view (and keep constant as an alias) 2017-08-22 18:24:22 +01:00
units-and-global-variables.rst Closing parenthesis 2017-07-27 11:03:06 +02:00
using-the-compiler.rst add legacy/compact AST-format options to CL 2017-05-24 14:48:32 +02:00