CHANGE Makes changes in an element of an array.
Categoryname
/BINARY - Writes data to binary format /REPEAT - Repeats the desired action
CHANGE/repeat value1 value2 value3
value1 - Variable name of the array type.
value2 - value to give to the variable
value3 - number of repeats
CHANGE Makes changes in an element of an array. With /REPEAT more efficient than subsequent POKEs.
Let [board] binary! 50
change/repeat board 0 50
let memory binary! size-of floater!
unportable change/binary memory 0.0
it: 42.0
unportable change/binary memory it
For more examples of CHANGE/REPEAT look for them in the Specials pages or in the '100 lights or doors' example on the Examples page.
For more examples of CHANGE/BINARY see the Specials on converting various formats.