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.
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
                                    -♦-