Instructions/call: Difference between revisions

From Desynced Wiki
(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}}")
(No difference)

Revision as of 20:02, 11 September 2023


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.