previous next top complete contents complete index framed top this page unframed
| Temporary feature: subject to change |
Figure 47–10. $setConfigurationBit
| <macro> $setConfigurationBit (BITS b); |
$setConfigurationBit sets various bits, called configuration bits, that control MAINSAIL execution. The possible arguments and their meanings are shown in Table 47–11. cmdFile and logFile echoing is described in Section 22.15.
Table 47–11. Configuration Bit Identifiers
| Configuration Bit | Meaning |
|---|---|
| $intFileFirst, $objFileFirst, $exeFileFirst | Change the default search order from libraries first to files first for the specified search. |
| $noAutoCmdFileSwitching | See the description of CONF in Chapter 6 of the MAINSAIL Utilities User's Guide. |
| $echoCmdFile, $echoIfRedirected | Control cmdFile and logFile echoing. |
| $lineOrientedDebug | Use the line-oriented interface for MAINDEBUG even when invoked from MAINEDIT (value '10). |
Only the bits shown in Table 47–11 should be changed at runtime. Changing other configuration bits from a program has undefined effects. Users must reference bits by identifier only, not by value, since their values may change in future releases. Some bits may become obsolete. Some system bits (see the description of $setSystemBit) may become configuration bits or vice versa. The type(s) of the configuration and/or system bits are subject to change; e.g., they may become LONG BITS.
$clrConfigurationBit is used to clear bits set with $setConfigurationBit, and $tstConfigurationBit to examine such bits.
MAINSAIL Language Manual, Section 47.9