the same. 01.05 GOTO 1.01 02.90 TYPE !!,"TRY AGAIN.",!!!!!;GOTO 1.1 IF The command (abbreviation I) provides a conditional branch based on the sign of the expression. After the numeric expression, the IF command can take one to three line numbers. If the expression is less than zero, execution branches to the first line number; if equal to zero, to the second line number; if greater than zero, to the third line number. The language lacked relative operators such as greater than, equal or less than. To branch if X > 5, one must compare X - 5. 02.20 IF (25-25) 2.4,2.3,2.4 03.01 IF (X) 3.1,3.02,3.1 IF could be short-formed by placing a semicolon (or end of line) beyond the first line number. For example: 02.20 IF (X)1.8; TYPE "Q" 02.30 IF (X)1.8,2.50 02.40 TYPE "P" In this case the test at 2.20 will cause the program to jump to line 1.8 if the test is negative, otherwise it will continue and type "Q" to the console. Line 2.30 will jump to 1.8 or 2.5 if the value is negative or zero, and otherwise continue to type "P" to the console. QUIT The command (abbreviation Q) terminates execution of the program and returns control to the editing environment. Equivalent to BASIC's or . 01.10 FOR X=-10,1,10;TYPE X 01.20 QUIT RETURN The command (abbreviation R) branches execution from a subroutine back to the calling location. The use of is optional at the last line of a subroutine, a subroutine returns at the last line in the group anyway. The following is a sample subroutine for converting a yes/no prompt into a value. 22.78 COMMENT: 'YES OR NO' SUBROUTINE 22.80 ASK "ANSWER YES OR NO ? ",AN 22.82 IF (AN-0YES)22.84,22.86 22.84 IF (AN-0NO)22.8,22.88,22.8 22.86 SET X=2;RETURN 22.88 SET X=1;RETURN SET The command (abbreviation S) assigns the results of an expression to the specified variable. Equivalent to BASIC's . 01.30 SET PI=3.14156 01.60 SET INTEREST=PRINCIPAL*(RATE/100)*TERM TYPE The command (abbreviation T) provides for output of one or more items separated by commas. Equivalent to BASIC's . Items can be variables, literal strings surrounded by double-quotes, or a variety of control characters. The control characters include the to output a carriage return and line feed, for the carriage return alone, and for a tab character. Control characters can be strung together, for example, will output three CR/LFs without the need to separate them with commas. TYPE