Navigation:  Reference > Functions >

ArrayElementValue()

Print this Topic Previous pageReturn to chapter overviewNext page

 

AEV(1,2)

 

PURPOSE

This function will return an element value from an array field.

 

PARTS

 

1 fn/v        Required - The array field itself.  You may use a P type field to point to the array field.

 

2 f/c/e        Required - The element number.

 

RETURN TYPE - Variable

The function will return the same type of field as the array field (part 1).

 

Define array_field type a size 10 array 10

Define array_value type a size 10

 

array_value = AEV(array_field,3)

// this would return the value in Element # 3

 

 


Page url: http://www.cassoftware.com/tas/manual/arrayelementvalue().htm