User Tools

Site Tools


en:getsetting

This is an old revision of the document!


GetSetting (Function)

Format

getsetting ( program_name, key_name )

returns string_expression ==== Description ==== Retrieve a setting from the system registry (or other persistent storage). The program_name and key_name are required by this function to access a previously saved setting. The empty string “” will be returned if the requested setting has not been previously set. 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 ==== SetSetting ==== 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

en/getsetting.1471027646.txt.gz · Last modified: 2020/02/28 10:46 (external edit)