Ran into a road block and not sure what i am doing wrong? This is the error i am getting and below is a sample portion of code
127 UseZone[n]=TRUE
^ ERROR
Id must be defined before this use. Id: USEZONE
n: Integer
BoxLength:Integer
CaseLength:Integer
UseZone1:BOOLEAN
UseZone2:BOOLEAN
n=1
BoxLength=100
IF CaseLength > Zone1Length THEN
UseZone[n]=TRUE
ENDIF
EDIT:
sorry I didnt explain too well but i am not trying to use an array i want to replace the n with a number
UseZone1:BOOLEAN
n=1
UseZone[n]=true ------------I want to replace the n with a 1 and create the expression : UseZone1=True