diff options
author | chriseth <c@ethdev.com> | 2016-03-14 22:54:12 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-03-14 22:54:12 +0800 |
commit | a81173be10cf821bd3c8db6d0c6f160a209a2c7b (patch) | |
tree | 630eafcc6dbc63e32888235912a266b6b5f5484d /docs/types.rst | |
parent | d34b59453a26c939cb231824ec941e009f3d5f89 (diff) | |
download | dexon-solidity-a81173be10cf821bd3c8db6d0c6f160a209a2c7b.tar.gz dexon-solidity-a81173be10cf821bd3c8db6d0c6f160a209a2c7b.tar.zst dexon-solidity-a81173be10cf821bd3c8db6d0c6f160a209a2c7b.zip |
Extend example
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/types.rst b/docs/types.rst index 6702ce08..187f62c1 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -306,6 +306,8 @@ the `.length` member. function f(uint len) { uint[] memory a = new uint[](7); bytes memory b = new bytes(len); + // Here we have a.length == 7 and b.length == len + a[6] = 8; } } |