Array.Fill(Variable, Variable) Method

Top 

Description

Resizes the array to the specified size and fills it with the specified value.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

Array.Fill(

Variable value,


Variable numElements)

 

Arguments

value


Description:

The value to fill the array with.

 

numElements


Description:

The new size of the array.

Valid Range:

numElements ≥ 1

 

 

Syntax

myArray1.Fill(myVariable1, myVariable2);

 

See also

Array Object

Array.Fill

Matrix, Array, and Variable Math Guide