Re: Phix loop variables and scope
- Posted by _tom (admin) May 25, 2018
- 1042 views
pre-declared one
integer x = 0 for x=2 to 7 do end for ? x --> 0
Phix runs. OE crashes.
The roundabout (aka loop) runs, but I can't use the variable 'x'
pre-declared two
atom x = 0 for x=2 to 7 do ? x end for ? x
Both crash.
_tom