SOURCELINE

Read syntax diagramSkip visual syntax diagram
>>-SOURCELINE--(--+---+--)-------------------------------------><
                  '-n-'      

returns the line number of the final line in the program if you omit n, or returns the nth line in the program if you specify n. If specified, n must be a positive whole number and must not exceed the number of the final line in the program.
Here are some examples:
SOURCELINE()    ->   10
SOURCELINE(1)   ->   '/* This is a 10-line REXX program */'


dfhrxbn.html | Timestamp icon Last updated: Monday, 5 June 2017