The Sourceline function returns a specific Rexx program source line, or the number of source lines in the current program.
result = Sourceline( [ line# ] ) |
When this argument is omitted, the number of available source lines is returned.
Examples:
say Sourceline() -- shows: number of source lines available say Sourceline( 5 ) -- shows: the text of the 5th source line. |