Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

27 Working with Mif2Go macros > 27.1 Defining and invoking macros > 27.1.1 Defining macros > 27.1.1.3 Escaping special characters in macro definitions


27.1.1.3 Escaping special characters in macro definitions

You can use a backslash in a macro to escape other characters, such as "\", "<", ">", """, "$", ";" and " " (space). For example, if you need to start a macro content line with "[" or ";" (left bracket or semicolon), preface the line with a backslash, to keep the line from being treated as a comment or section head:

[MyMacro]

\; This is not a configuration-file comment

; This is a configuration-file comment

\[NotTheNextSection]

[TheNextSection]

To include a comment in macro definitions, see §27.1.1.5 Including comments in macro definitions.



27 Working with Mif2Go macros > 27.1 Defining and invoking macros > 27.1.1 Defining macros > 27.1.1.3 Escaping special characters in macro definitions