http://www.ClipX.Net [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Modifying default macros
------------------------
When the default macros listed in the preceding table doesn't give you
the exact string you want, macro modifiers let you extract parts of
the string to suit your purpose.

To modify a default macro, use this syntax:

        $(MacroName [modifier])

The following table lists macro modifiers and provides examples of
their use.

Modifier        Part of file name expanded      Example Result
--------        --------------------------      --------------
D               Drive and directory             $(<D)   C:\PROJECTA\

F               Base and extension              $(<F)   MYSOURCE.C

B               Base only                       $(<B)   MYSOURCE

R               Drive, directory, and base      $(<R)   C:\PROJECTA\MYSOURCE

Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson