RosettaCodeData/Task/Array-length/Robotic/array-length-1.robotic

6 lines
129 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
set "index" to 0
set "$array&index&" to "apple"
inc "index" by 1
set "$array&index&" to "orange"
* "Array length: ('index' + 1)"