StringSettingsItemclasssettings.t[210]

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  

leadTrailSpPatsettings.t[242]

no leading quote; just trim spaces

needQuotePatsettings.t[274]
quotes aren't needed

trimSpPatsettings.t[243]
no description available

valsettings.t[277]
our current value string

Methods  

quoteValue (str)settings.t[251]

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)OVERRIDDENsettings.t[219]
parse text

settingToText ( )OVERRIDDENsettings.t[212]
convert to text

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3