Extend example

This commit is contained in:
chriseth 2016-03-14 15:54:12 +01:00
parent d34b59453a
commit a81173be10

View File

@ -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;
}
}