Instructions/call

From Desynced Wiki
Revision as of 20:02, 11 September 2023 by Johan (talk | contribs) (Created page with "{{Instruction_Top}} ==== Description ==== This instruction is effectively a subroutine. ==== Uses ==== Optimal usage tends to be breaking code down into more repeatable sections in cases where you would use the same string of instructions multiple times. ==== Similar Instructions ==== ==== Notes ==== Any unused sub-behaviors that aren't called by a call instruction get trimmed out of the behavior. {{Instruction_Bottom}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


call
     File:Instructions-call.png
Lua ID call
Category Flow
Icon icon_input

Call a subroutine

Lua ID call
Category Flow
Icon icon_input



Description

This instruction is effectively a subroutine.

Uses

Optimal usage tends to be breaking code down into more repeatable sections in cases where you would use the same string of instructions multiple times.


Similar Instructions

Notes

Any unused sub-behaviors that aren't called by a call instruction get trimmed out of the behavior.