Careful stepping backwards...
Rayman
Posts: 14,877
Just picked up on a Spin oddity after all these months...· I'm sure many people already know this but:
doesn't work the way I expected, the loop only runs once.·
To make it go all four times, you have to write this:
I'm sure this makes perfect sense to Chip, but just seems wrong to me...
repeat j from 4 to 1 step -1
doesn't work the way I expected, the loop only runs once.·
To make it go all four times, you have to write this:
repeat j from 4 to 1 step 1
I'm sure this makes perfect sense to Chip, but just seems wrong to me...
Comments
I think 1 is the default, and can be omitted
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Parallax Forums - If you're ready to learn, we're ready to help.