#449 Source filename in a local variable

None
rejected
nobody
APIs (29)
none
5
2014-09-24
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

     
  • Rick McGuire
    Rick McGuire
    2014-09-24

    The file name is already easy accessible via

    .context~package~name

    There's no need to make this yet another special variable.

     
  • Rick McGuire
    Rick McGuire
    2014-09-24

    • status: open --> rejected
    • Pending work items: --> none
     


Anonymous


Cancel   Add attachments