IsArray()

Top  Previous  Next

IsArray() - Check for Valid Array

Description

The IsArray() function checks whether the supplied expression is a valid array and return true or false.

Boolean = IsArray(Expression)

Returns True or False

Example

Dim Words(1)

 

Words(0) = "Hello"

Words(1) = "Good-bye"

 

If IsArray(Words) Then

   SMEvent.Raise "Trace", "The value is an Array"

End If