diff options
author | chriseth <c@ethdev.com> | 2016-03-14 22:46:55 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-03-14 22:46:55 +0800 |
commit | d34b59453a26c939cb231824ec941e009f3d5f89 (patch) | |
tree | aa1e872d2410db3819ac2399763cdea440fea0df /docs | |
parent | c38797fbff29d0e882c8bc04de1f5200ca6922c5 (diff) | |
download | dexon-solidity-d34b59453a26c939cb231824ec941e009f3d5f89.tar.gz dexon-solidity-d34b59453a26c939cb231824ec941e009f3d5f89.tar.zst dexon-solidity-d34b59453a26c939cb231824ec941e009f3d5f89.zip |
Clarification
Diffstat (limited to 'docs')
-rw-r--r-- | docs/types.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/types.rst b/docs/types.rst index 04101c10..6702ce08 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -296,7 +296,9 @@ So `bytes` should always be preferred over `byte[]` because it is cheaper. Allocating Memory Arrays ^^^^^^^^^^^^^^^^^^^^^^^^ -Creating arrays with variable length in memory can be done using the `new` keyword: +Creating arrays with variable length in memory can be done using the `new` keyword. +As opposed to storage arrays, it is **not** possible to resize memory arrays by assigning to +the `.length` member. :: |