To help with tracking loop in code ie IF...[ELSE]...ENDIF, WHILE...LOOP etc, try indenting the code:

Instead of:

IF $BLAH="BLAH"
WHILE $BLAH2<>"STOP"
IF @USERID="administrator" LOGOFF(1) ENDIF
LOOP
?
ENDIF

try

code:

IF $BLAH="BLAH"
WHILE $BLAH2<>"STOP"
IF @USERID="administrator" LOGOFF(1) ENDIF
LOOP
?
ENDIF


You should then be able to scroll up and down and find missing ENDIFs, LOOPs etc..


cj

[This message has been edited by cj (edited 16 November 2000).]