User Tools

Site Tools


el:setsetting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

el:setsetting [2016/01/01 22:40] (current)
Line 1: Line 1:
 +===== SetSetting =====
 +==== Format ====
 +**setsetting** //​program_name//,​ //​key_name//,​ //​setting_value//​\\
 +**setsetting** ( //​program_name//,​ //​key_name//,​ //​setting_value//​ )
 +
 +==== Description ====
 +
 +Save a //​setting_value//​ to the system registry (or other persistent storage). ​ The //​program_name//​ and //​key_name//​ are used to categorize and to make sure that settings accessed when needed and not accidentally changed by another program.
 +
 +The saved value will be available to other BASIC-256 programs and should remain available for an extended period.
 +
 +This statement may be disabled because of potential system security issues. ​ Availability may be configured in the IDE by going to the Edit>​Preferences menu.    ​
 +
 +==== See Also ====
 +
 +[[GetSetting|GetSetting]]
 +
 +==== Example ====
 +
 +<​code>​
 +setsetting "​thisprogram",​ "​testsetting",​ "value of setting"​
 +print getsetting("​thisprogram",​ "​testsetting"​)
 +</​code>​
 +will print
 +<​code>​
 +value of setting
 +</​code>​
 +
 +
 +==== New To Version ==== 
 +0.9.6.38
  
el/setsetting.txt ยท Last modified: 2016/01/01 22:40 (external edit)