Tile - Define Local Array Variable – Ylands
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
*'''Set variable''' instruction is dragged directly from '''context menu''' (right click on definition tile). | *'''Set variable''' instruction is dragged directly from '''context menu''' (right click on definition tile). | ||
=Notes= | = Notes = | ||
*See also: [[Ylands Visual scripting introduction|'''Introduction to Visual scripting''']], [[Ylands Script conventions|'''Conventions''']]. | *See also: [[Ylands:Visual scripting introduction|'''Introduction to Visual scripting''']], [[Ylands:Script conventions|'''Conventions''']]. | ||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | |||
[[Category: Instructions]] | |||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] | ||
Latest revision as of 14:24, 24 November 2023
- A local variable is only available within the scope of one instruction sequence.
- New local variable is defined when placed in valid instruction sequence.
- Only instructions placed after local variable definition can access that variable.
- Set variable instruction is dragged directly from context menu (right click on definition tile).
Notes
- See also: Introduction to Visual scripting, Conventions.