not sure if this helps but where do you get the variable model from?
if (model <= sizeN) then
@valid = 1
endif
it's not listed in your script
this is one of my validation scripts which may help in creating them yourself
if (tagcount[ger_acc_ta.Tank] > 1) then
@valid = 0
else
@valid = 1
endif
I always set a value that will return the @valid=0 and then default to @valid=1 so the script will always return something
|