contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
Variable names: programmer-defined names using the "#" character
Prerequisite Concepts      

In OmniMark, the names of built-in variables begin with the pound ("#") character. In rare cases, you may need to define your own variables that contain a pound. This may happen when an OmniMark program is generated from another source and you do not have control over the variable names.

To prevent confusion with built-in variables, programmer-defined variable names that contain a "#" must be quoted. This is the only circumstance in which a quoted variable name refers to a variable different from the unquoted variable name.

Format items that apply to variables contain the variable name they are formatting. An extra set of quotation marks is not permitted inside a format item, so OmniMark provides an alternate method of differentiating between a programmer-defined name containing a "#" and a built-in variable. To reference the programmer-defined variable name inside a format item, the pound character ("#") must be escaped.

Programmer-defined variable names containing "#" characters are almost always unnecessary, and their use is deprecated.

Prerequisite Concepts
     Names
 
   
----

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:00:52 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.