Yes. Any slots can be changed by assigning a new value to it.
The slots of an array can be used in any order.
For example,
here is the same program as the one above,
but now the LET statements are in a different
order.
This is perfectly OK.
DIM VALUE(1 TO 5) ' Ask for an array of floating point numbers
'
LET VALUE(2) = -12.6 ' Put -12.6 into the second slot
LET VALUE(3) = 99.85 ' Put 99.85 into the third slot
LET VALUE(1) = 19.234 ' Put 19.234 into the first slot of the array
PRINT "First slot:", VALUE(1) ' Print out the first slot
PRINT "2nd slot:", VALUE(2) ' Print out the second slot
PRINT "3rd slot:", VALUE(3) ' Print out the third slot
END
What will this program print out?