Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

28 Working with macros > 28.5 Accessing settings with configuration macros > 28.5.1 Understanding configuration macros and variables


28.5.1 Understanding configuration macros and variables

A configuration variable is a macro variable that looks like this:

$$[Section]Key

where the components of the variable are as follows:

[spacer]

Section

Name of a configuration-file section.

Key

Keyword, format name, or other identifier that appears to the left of the equals sign in a configuration setting under [Section].

A configuration macro is a Mif2Go macro that employs a configuration variable, either to access or to change the value of a configuration setting.

This is all you need to access the current value of a configuration setting. To change the value of a setting, see §33.2.4 Assigning values to configuration variables.

Note:  Specifying a configuration value with $$_Section[Key] as a predefined list variable is deprecated, though still supported for backward compatibility.



28 Working with macros > 28.5 Accessing settings with configuration macros > 28.5.1 Understanding configuration macros and variables