From a81173be10cf821bd3c8db6d0c6f160a209a2c7b Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 14 Mar 2016 15:54:12 +0100 Subject: Extend example --- docs/types.rst | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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; } } -- cgit v1.2.3