Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Curfilenam Macro
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Curfilenam («curfilenam»)
 
     The Curfilenam macro types the base name of the current file. This
     macro is redefined each time you switch to a new file.
 
     Definition
 
     curfilenam := "<basename>"
 
     Example
 
     The following macro copies the base name of the current file to
     the clipboard for later use:
 
     Name2clip := Arg Curfilenam Copy
 
     See
 
     Arg, Copy, Curdate, Curday, Curfile, Curfilenam, Curfileext,
     Curtime
                                    -♦-