VirtualArray.FindFirst(Variable) Method

Top 

Description

Finds the first index at which the specified value is present. If the value is not present in the array, -1 will be returned.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

VirtualArray.FindFirst(

Variable value)

 

 

Arguments

value


Description:

The value whose index to find.

 

 

 

Return Value

Type:

number

 

 

The first index at which the specified value is present, or -1 if the value is not present.

 

Syntax

myVariable1 = {1,2,3,4}.FindFirst(myVariable2);

 

 

See also

VirtualArray Object