Bug #244
Updated by Baptiste Pillot over 4 years ago
For/Next not working with negative step when defined with variables. Example:- ```aoz #manifest:"pc" #fullScreen:true #fps:false #splashScreen:false Ink 1 For_Loop_Start=0 For_Loop_End=1 For_Loop_Step#=0.02 Count=0 Gosub Tester Text 20,100,"Test One - Step Forward - Step Count:"+Str$(Count) For_Loop_Start=1 For_Loop_End=0 For_Loop_Step#=-0.02 For_Loop_Step=-0.02 Count=0 Gosub Tester Text 20,200,"Test Two - Step Backward - Step Count:"+Str$(Count) End Tester: For F#=For_Loop_Start F=For_Loop_Start to For_Loop_End Step For_Loop_Step# Inc Count Wait Vbl Next F# F Return ```