FANDOM


Syntax

PAUSE

Explanation

PAUSE temporarily halts the execution of a procedure. PAUSE makes it possible to add commands to an ongoing procedure or check the execution of a procedure. It is also possible to enter the editor while in a pause to change the procedure.

When Logo pauses, it prints PAUSE and the prompt changes to the word PAUSE followed by a greater than sign (PAUSE >). The value of the PAUSE prompt is stored in the system variable name :PAUSE and can be changed.

To resume execution for the procedure, type CO or CONTINUE. To return to toplevel, type TOPLEVEL or Control-G.

PAUSE may be used only within a procedure. To pause a procedure that is running at toplevel, use Control-Z.

Example

TO SQUARE

DRAW
FORWARD 60
RT 90
PAUSE
REPEAT 3 [FD 60 RT 90]

END

Pc logo 39

This is a result of the procedure.

? SQUARE

PAUSE> SETPC 9

PAUSE> CONTINUE

?

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.