END

Synopsis

(special form)

END
Description

END delimits the end of a procedure that is defined with TO.

END is not really a command. As a result, procedures that manipulate other procedures don't work on END. For example, PROCEDUREP "END outputs FALSE.

Example
TO ECHO :times :thing
  REPEAT :times [PRINT :thing]
END

ECHO 2 "Hello
Hello
Hello
ECHO 3 "Bye
Bye
Bye
Bye

SourceForge.net Logo