Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to populate an array in the declaration line as in other programming languages?

Issue

Is there a way to populate an array in the declaration line as in other programming languages i.e. Numeric numbers[4] = {1, 2, 4, 8}?

Environment

StruxureWare for Building Operation Script Editor

Cause

When defining an array in Script Editor the user may wish to populate the array with initial values.

Resolution

The way to populate an array in Script Editor is to initialise each element individually.

Tags (1)
Labels (1)
Version history
Revision #:
1 of 1
Last update:
‎2018-09-11 06:59 AM
Updated by: