Return
From AGI Wiki
Revision as of 19:49, 17 March 2018 by Andrew Branscom (talk | contribs) (Created page with "Return ==<br /> Description == Ends execution of the current logic and returns to the logic that called it (or in the case of logic 0, goes on to the next interpreter cycle)...")
Return
Description
Ends execution of the current logic and returns to the logic that called it (or in the case of logic 0, goes on to the next interpreter cycle).
Syntax
AGI Code:
<syntaxhighlight lang="agi"> return();</syntaxhighlight>
This command is required at the end of every logic.
Sources
References