[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Configuration Control
The GOLDED.CFG configuration reader can be directed in several
ways with special keywords:
IF <dos/os2/386>
ELIF <dos/os2/386>
ELSEIF <dos/os2/386> (same as ELIF)
ELSE
ENDIF
These control keywords can be used to setup sections of
configuration which enable different sets of keywords depending
on which version that is used.
Example:
IF OS2
EDITOR c:\qedit\os2\q.exe @file -n@line
EDITSPELLCHECK c:\os2\cmd.exe /c c:\ss\ss.exe @file
ELIF DOS
EDITOR c:\qedit\dos\q.exe @file -n@line
EDITSPELLCHECK c:\ss\ss.exe @file
ENDIF
If both IF 386 and IF DOS are used, it is important to put DOS as
the bottom choice.
IGNORE This tells the configuration file reader to ignore
all subsequent lines until another IGNORE keyword is
encountered. Useful for testing and quickly switching
portions of configuration.
However it is probably more useful to use the IF/ELIF/ENDIF
control keywords.
INCLUDE <file> This tells the configuration file reader to stop
reading the current .CFG file, and start reading the
<file> as an extra configuration file, then resume
reading the previous .CFG. The INCLUDE filenames are
stored and their timestamps are checked when GoldED
is started. INCLUDE files can be nested without limit.
REM Signifies a REMark (comment) line. The line is
ignored.
Any non-alphabetic non-whitespace character at the
beginning of a line makes the line a comment. Example:
; This is a comment
% This is a comment
* This is a comment
// This is a comment
/* This is a comment */
By tradition, the semicolon is the standard comment character.
The semicolon (and only that) can also be used to add a comment
at the end of a configuration line. Example:
ADDRESS 2:236/77 ; Main address.
AKA 2:236/77.1 ; SysOp point.
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson