SettingsFileDataclass
SettingsFileData - this is an object we use to represent the contents of the configuration file.
class
SettingsFileData
: object
Superclass Tree (in declaration order)
SettingsFileData
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Summary of Methods
addComment
addItem
construct
delItem
forEach
getItem
setItem
Properties
lst_
a list of SettingsFileItem objects giving the contents of the file
tab_
lookup table of values, keyed by variable name
Methods
addComment (str)
add a comment line
addItem (id, val)
add a variable
construct ( )
no description available
delItem (id)
delete an item
forEach (func)
iterate over all data (non-comment) items in the file
getItem (id)
find an item - returns a SettinsFileItem for the key, or nil if there’s no existing item
setItem (id, val)
set a variable, adding a new variable if it doesn’t already exist
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3