HALT
Syntax HALT
HALT id 

HALT id id id ... 
 
Explanation HALT stops the execution of all running background procedures. Optionally, HALT may be given as input(s) the ID number(s) of the procedure(s) to be stopped. The ID number is reported by LAUNCH when a procedure is activated.

See also LAUNCH.

Examples The procedure below will send turtle 1 to random locations on the screen. If this procedure is launched as a background procedure, the turtle will creep along the screen while allowing you to enter commands and run other procedures. Note that the procedure does not use the TELL command, because this command alters the TELL list which is used by all Logo procedures.

TO CREEP 
    ASK 1 [SETPC 2 ST] 
    ASK 1 [SETH HEADING + (RANDOM 60) - 30] 
    ASK 1 [FORWARD RANDOM 20] 
    CREEP
END


TopIndex