StringSettingsItemclass
A string settings item. This is for variables that have scalar string values. Value strings can contain anything except newlines.
class
StringSettingsItem
:
SettingsItem
Superclass Tree (in declaration order)
StringSettingsItem
SettingsItem
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
leadTrailSpPat
needQuotePat
trimSpPat
val
Inherited from SettingsItem
:
factoryDefault
includeInListing
settingDesc
settingID
Summary of Methods
quoteValue
settingFromText
settingToText
Inherited from SettingsItem
:
restoreItem
saveItem
Properties
leadTrailSpPat
no leading quote; just trim spaces
needQuotePat
quotes aren’t needed
trimSpPat
no description available
val
our current value string
Methods
quoteValue (str)
Class method: quote a string value for storing in the file. If the string has any leading or trailing spaces, starts with a double quote, or contains any newlines, we’ll quote it; otherwise we’ll return it as-is.
settingFromText (str)
OVERRIDDEN
parse text
settingToText ( )
OVERRIDDEN
convert to text
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3