Im using assign to call some variables and at runtime I am getting errors:
WARNING: $Reserve_1: possibly used before declaration.
ERROR: $Reserve_1: undeclared global variable.
The code below is how I assign the vars, and I used a 'IsDeclared' to verify that it was successful.
Im trying to clean/convert old code and I would like to get rid of these 60 errors and 60 warnings thanks.
For $i = 1 to 60
if not Assign ( "Reserve_"&$i, "",2) then
MsgBox(0,"Error Assigning :","Reserve_"&$i)
else
;MsgBox(0,"Assigning :","Reserve_"&$i)
EndIf
Next
msgbox(0,'IsDeclared ( Reserve_58 )',IsDeclared ( 'Reserve_58' ))