Difference between revisions of "ISKernel:dataset (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 28: Line 28:
  
 
{{DT-Stub}}
 
{{DT-Stub}}
 +
[[Category:Inner Space]]
 +
[[Category:Inner Space Session]]
 +
[[Category:Inner Space Session Data Types]]

Revision as of 22:19, 25 May 2005

Description

Members

  • string Name: Name of the data set
  • float GetFloat[setting]: Retrieves a setting value, as a float
  • float GetFloat[setting,default]: Retrieves a setting value, as a float. Uses the value of default if the value does not exist
  • int GetInt[setting]: Retrieves an setting value, as an int
  • int GetInt[setting,default]: Retrieves an setting value, as an int. Uses the value of default if the value does not exist
  • string GetString[setting]: Retrieves a setting value, as a string
  • string GetString[setting,default]: Retrieves a setting value, as a string. Uses the value of default if the value does not exist
  • int Keys: Total number of keys (and values)
  • string Key[#]: Retrieves the nth key from the list (1-based)

Methods

  • Clear: Clears the data set
  • SetName[name]: Changes the name of the data set
  • Set[setting,value]: Sets (creating if necessary) a setting in this data set
  • UnSet[setting]: Deletes a setting in this data set

Returns

Same as Name

Examples

See Also