It looks like you're new here. If you want to get involved, click one of these buttons!
contract Test { string32[] test = {"A", "B"}; }
:2:23: Error: Expected primary expression. string32[] test = {"A", "B"}; ^
contract foo { struct StackItem { uint value; } StackItem[] stack; function push (uint value) { StackItem item = stack[stack.length++]; item.value = value; } function pop () returns (uint) { StackItem item = stack[stack.length--]; return item.value; } function stacksize() returns (uint) { return stack.length; } }
Comments
See more in the tutorial:
https://github.com/ethereum/wiki/wiki/Solidity-Tutorial#arrays
Hope that helps!