Spin2 REPEAT issue

in Propeller 2
Hi Chip
I've found an issue with the REPEAT command in Spin2.
If I use a variable directly with a repeat I get incorrect count.
If I use the same variable in the from/to format it works Ok.
I've found an issue with the REPEAT command in Spin2.
If I use a variable directly with a repeat I get incorrect count.
If I use the same variable in the from/to format it works Ok.
var parm[8] pub main()|x waitms(2500) 'wait leds to extingish after load parm[1] := 7 ' repeat parm[1] 'flashes 4 times ??? repeat x from 1 to parm[1] 'fkashes 7 times as expected pinl(56) waitms(500) pinh(56) waitms(500)
Comments
'