#449 Source filename in a local variable

None
open
nobody
APIs (29)
5
2012-08-22
2012-03-20
Swifty
No

It would be nice to have the source filename in a local variable in the same way that .line always contains the current line number.

Nearly every program of mine contains this, to get the source filename:

Efn: Procedure / Return Exec File Name /
Parse source . . efn
Return efn

Discussion

  • Jon Wolfers
    Jon Wolfers
    2012-08-16

    It might make sense to have this as a method of the rexxContext class ie:
    .context~filename

     


Anonymous


Cancel   Add attachments