Get_Arg$
str-var = Get_Arg$(first-arg-num,last-arg-num) |
||
Operands: |
arg-num first-arg-num last-arg-num |
the number of the only macro operand the number of the first macro operand the number of the last macro operand |
Returns: |
|
For (arg-num), it returns the specified macro operand number arg-num, where the operands are numbered left to right starting at 1. For (first-arg-num,last-arg-num) it returns a range of operands from operand number first-arg-num through operand number last-arg-num, where the operands are numbered left to right starting at 1. Unless last-arg-num is 0, then first-arg-num must be <= last-arg-num. Macro arguments are treated as simple space delimited operands. If an undefined / illegal argument number is specified, a "" (null) will be returned. If a valid argument number, RC will be 0 and Msg$ will be "" (Null) If an invalid argument number, RC will be 8, and Msg$ will contain an error message |
Special Notes: |
|
If Get_Arg$(0) is requested, the complete macro arguments are returned as one string, where the individual arguments are separated from each other by blanks. |
Created with the Personal Edition of HelpNDoc: Easily create CHM Help documents