Preference settings are maintained in an .ini file whose name and location are identified when starting VA Smalltalk (either explicitly or by default). The general format of the
.ini file content is repeating groups of
stanza names followed by
keyword=
value pairs corresponding to the settings associated with the preceding stanza name. Each line in the
.ini file can have a maximum of 1023 characters. Comments (both full line and remainder-of-line) are also supported. Comments begin with a semi-colon (;) and are terminated at the end of the current line. So, for example, a segment of an .INI file would look like this:
The stanza names and
keywords are case sensitive on all platforms; the
values are case-preserving on Windows and case-sensitive on all Unix platforms.
boolean: value can be either
true or
false
decimal: value can be
integer.
positiveInteger
directory: value can be a string representing a file system path; a platform-specific trailing directory separator will be added to the string if it doesn't already end with a directory separator character (no other syntax checking is done)
file: value can be a string representing a file system filename with optional path information; currently handled the same as
string
fraction: value can be the sequence
integer/
positiveInteger
integer: value can be a sequence of digits (0 through 9) with an optional leading minus (-)
multilineString: a string that may contain end-of-line indicators (\); currently handled the same as
string
number: value can be
decimal or
fraction or
integer
point: value can be
number@
number
string: value can be any sequence of adjacent characters except for the comment delimiter (;), array delimiter (,) and leading/trailing white space; to handle these exceptions, you can surround the sequence with single quote characters (and double any embedded single quote characters)
array: value can be an array of simple values separated by the array delimiter (,) character.
Note: This is a change from the previous way of specifying an array using the comment delimiter (;) character to separate the elements.
range: value can be a
number falling within the specified range of numbers; the specification supports including or excluding the end-points of the range.
Copyright 2005, 2017 Instantiations, Inc. All rights reserved.