FANDOM


Syntax

STOP

Explanation

STOP makes Logo halt execution of the current procedure and return to the calling procedure. If there is no calling procedure, Logo returns to TOPLEVEL.

Example

TO GUESS

TYPE [HOW MANY SYMPHONIES DID BEETHOVEN COMPOSE]
MAKE "GUESS READ
MAKE "NUMBER 9
IF :NUMBER = :GUESS [PR [THAT'S RIGHT\!] [PR [NOT QUITE. GUESS AGAIN.]] GUESS

END

? GUESS

HOW MANY SYMPHONIES DID BEETHOVEN COMPOSE? ? 3

NOT QUITE. GUESS AGAIN.

HOW MANY SYMPHONIES DID BEETHOVEN COMPOSE? ? 9

THAT'S RIGHT!

?

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.