Control Flow Commands

COLLECT

delays execution of commands such as DO loops (Interactive)

COMPRESS

clears up space occupied by deleted variables

DO

defines a (numeric-indexed) DO loop

DOT

defines a (character-indexed) DOT loop

ELSE

part of IF-THEN-ELSE conditional structure

END

end of program

ENDDO

end of DO loop

ENDDOT

end of DOT loop

ENDPROC

end of PROC definition

EXEC

execute a range of command lines (Interactive)

EXIT

end of COLLECT loop or program (Interactive)

GOTO

starts execution at the statement label specified

IF

part of IF-THEN-ELSE conditional structure

INPUT

read commands from an external file (Interactive)

LIST

defines a list of variables

LOCAL

defines local variables in a PROC

OUTPUT

directs output to a file instead of screen (Interactive)

PROC

defines a user procedure

QUIT

stops TSP, without saving backup (Interactive)

STOP

stops TSP

SYSTEM

temporary exit to VMS or DOS without losing TSP session (Interactive)

TERMINAL

restores output to screen after OUTPUT (Interactive)

THEN

part of IF-THEN-ELSE conditional structure

USER

user-programmable command (Mainframe)