std.collections.Stack.OpIdxeq - nitrologic/monkey2 GitHub Wiki
std::std.collections.std.collections.Stack.Operator []=
monkey:monkey.types.Int,value:T )
Operator []=:Void( index:Sets the value of a stack element.
In debug builds, a runtime error will occur if index
is less than 0, or greater than or equal to the length of the stack.
Parameters | |
---|---|
index |
index The index of the element to set. |
value |
value The value to set. |