10.5.8.1. PARAM
10.5.8.1. PARAM
Explanation | Enumerates formal parameters of sub jobs. It is preferred to put it at the front of a job. It must be executed earlier than DIM statement. | ||
Syntax | PARAM [<Formal parameter>,<Formal parameter>,......] | ||
Parameter | Formal parameter | Names to be mapped to the actual parameters of Call statement. Should start with the prefix “I”. (Refer to 10.4.4.4 Parameters) | Up to 10 |
Example | 'Calc. Euclide distance 2D PARAM ldLen,ldX,ldY DIM ldaMid[3],ldTmp AS Double DIM ltMsg AS String ' ldTmp=ldX*ldX+ldY*ldY ldLen=SQR(ldTmp) ‘distance from origin |