- Joined
- Sep 22, 2012
- Messages
- 90
how to get out of loop when a certain condition is met?
// some functions above
loop
if not IsStringInteger(SubString(inputVal[1],i,i+1)) then
call BJDebugMsg("Valid Command - Invalid Inputs")
set inputNotValid[1] = true
exitwhen true
endif
set i = i + 1
exitwhen i == inputValLength[1]
endloop
// some function below