NoOccurs                                                                                                Function

 

NOOCCURS(theVariable  theSubscriptLevel as Integer)

 

Description

Returns an integer with the maximum value of a subscript for the given variable and subscript level(1 to 3)

 

Example

Dim x(10, 200, 5) as Float

Dim result as integer

result=NoOccurs(x, 1) 'result would be 10

result=NoOccurs(x, 2) 'result would be 200

result=NoOccurs(x, 3) 'result would be 5