Array.FillRandom(Variable, Variable, Variable) Method

Top 

Description

Resizes and fills the array with random values.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Array.FillRandom(

Variable min,


Variable max,


Variable numElements)

 

 

Arguments

min


Description:

The minimum value of the random number range.

 

 

max


Description:

The maximum value of the random number range.

 

 

numElements


Description:

The new size of the array.

Valid Range:

numElements ≥ 1

 

 

 

Syntax

myArray1.FillRandom(myVariable1, myVariable2, myVariable3);

 

 

See also

Array Object

Array.FillRandom

Matrix, Array, and Variable Math Guide