Array.Add(Variable) Method

Top 

Description

Adds the value of the specified variableArgment to the end of the calling Array, increasing the dimension of the Array by one. Returns the new dimension of the Array.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Method Signature

Array.Add(

Variable variableArgment)

 

 

Arguments

variableArgment


Description:

Variable to be added to the end of the Array.

 

 

 

Return Value

Type:

number

 

 

Returns the new dimension of the Array.

 

Syntax

myVariable1 = myArray1.Add(myVariable2);

 

 

See also

Array Object

Matrix, Array, and Variable Math Guide