Download Super Logo (Tandy) - TRS
Transcript
I F FALSE (list of stmts) If the value of the previous TEST statement is FALSE, the list of statements is executed; otherwise it is skipped. MAKE :var expr or MAKE "var expr The value of the expression is assigned to the variable. The value may be a number, word or list. N OT RAC E This turns off trace mode and causes normal execution to resume. N OW RAP Normally, the screen is in wrap mode. That is, a turtle which runs off the screen will come back on the opposite edge. Execution of the N OWRAP statement takes the screen out of wrap mode. If a turtle then runs off the screen, the program will terminate with an OUT OF BOU N DS error message. O UTPUT expr The expression value can be a number or word or list. The value is saved as the function result; then control is returned to the calling procedure in the same manner as via the STO P statement. The calling procedure can use the saved value via the R ESULT function. P R I NT expr U If the screen is in FULLTEXT mode, then PRINT acts exactly like TEXT, as described below. Otherwise, the expression value is displayed at the turtle location. The turtle is not moved. The value may be a number, word or list. Words in a list are separated by one space. procname arglist This is referred to as a CALL statement, even though it does not contain the word CALL. To CALL any proce dure, just code its name followed by any arguments to be passed. If arguments are present, they are separated by one or more spaces. Each argument may be a number, variable, word, list, function reference or an expression contained in parentheses. The argument's values are passed to the parameter variables on the TO statement of the called procedure. If there are fewer arguments than there are parameters on the TO, then extra parameters are set to '1. If the called procedure executes a STOP, OUTPUT or E N D, then control continues with the next statement after the call statement. 169