Skip to content
Vera Chellgren edited this page Sep 18, 2021 · 1 revision

CALL allows the user to execute a previously defined desc.

Syntax

CALL descname

where descname is the name of the desc.

Note: If there is an error in the code inside the desc, it will be reported upon encountering it during execution. Error reporting for commands inside a desc is exactly the same as the rest of YeetWords: it will show the specific line where the error was encountered, not the CALL command as a whole. The error reporting system reports only the line where an error occurred, and not calls or other events leading up to that point.

On the other hand, if there is an issue with the syntax of the CALL command itself (e.g. a CALL with no parameters), then of course the error reporting system will report the CALL line as an error.

Related commands

DESC

Clone this wiki locally