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.
Macro String Syntax
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     A macro string is a sequence of characters enclosed in double
     quotation marks. When PWB is executing a macro, an occurrence of a
     string is equivalent to typing the characters in the string. Some
     switches, such as the Word and Build switches, accept macro strings
     as part of their setting.
 
     Within a macro string, you can use the following escape sequences
     to encode special characters:
 
     Sequence   ASCII   Description
 
     \\         92      Backslash
     \"         34      Double quotation mark
     \n         10      Newline (linefeed)
     \r         13      Carriage return
     \t         9       Tab
     \<hh>      <hh>    Character with ASCII code hexadecimal <hh>
                        See: ASCII Table (Hexadecimal)
     \<c>       <c>     Character <c>, where <c> is any character other
                        than the characters \"nrt or a hexadecimal
                        digit
 
     See
 
     Text Macros
     Macro Example: Expanding Text Abbreviations
     Regular Expressions in Macro Strings
                                    -♦-