|
|
This function returns the length of an array. If a variable is not an array, the return value is 0. The array lenth is returned from DataView to LogiView as second part of the standard parameters (output the complete standard parameter with the standard function par()). | ||||||
Syntax: |
|||||||
| {INT_VAR}=array_length({VAR}) | |||||||
I/O parameters:
|
|||||||
Return value: |
|||||||
|
|||||||
Example: |
|||||||
| Declaration of Variables | |||||||
80 EP_COUNT = 0 90 EP_MAX = array_length(DOCU_STRING_ARRAY_1) 100 while(EP_COUNT < EP_MAX) 110 .... 150 EP_COUNT = EP_COUNT + 1 160 done |
|||||||
Result: |
|||||||
|
Functions and commands: Other Functions and Commands |