Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Curfileext Macro
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Curfileext («curfileext»)
 
     The Curfileext macro types the filename extension of the current
     file. This macro is redefined each time you switch to a new file.
 
     Definition
 
     curfileext := "<extension>"
 
     Example
 
     The following macro copies the base name plus the extension of the
     current file to the clipboard for later use:
 
     Filename2clip := Arg Curfilenam Curfileext Copy
 
     See
 
     Arg, Copy, Curdate, Curday, Curfile, Curfilenam, Curfileext,
     Curtime
                                    -♦-