Tile - Define Local Array Variable – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (grammar)
m (grammar)
Line 1: Line 1:
[[Image:Ylands_Tile_-_Variable_local.png]]
[[Image:Ylands_Tile_-_Variable_local.png]]
*A local '''variable''' is a variable '''available''' only within the scope of '''current''' instruction '''sequence'''.
*A local '''variable''' is only '''available''' within the scope of '''current''' instruction '''sequence'''.
*'''New''' local variable is '''defined''' when placed in '''valid''' instruction '''sequence'''.
*'''New''' local variable is '''defined''' when placed in '''valid''' instruction '''sequence'''.
*Only '''instructions''' placed '''after''' local variable '''definition''' can access that variable.
*Only '''instructions''' placed '''after''' local variable '''definition''' can access that variable.

Revision as of 18:00, 12 December 2018

Ylands Tile - Variable local.png

  • A local variable is only available within the scope of current 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



Template:Ylands scripting navbox