LoadSetting

From SCAR Divi Manual
Revision as of 15:12, 2 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function LoadSetting(section, setting: AnsiString): AnsiString; </source> ==Availability== SCAR Divi 3.00 > Current ==Descript...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function LoadSetting(section, setting: AnsiString): AnsiString;

Availability

SCAR Divi 3.00 > Current

Description

Loads a setting from the section given by section and the defined by the setting name given by setting.

Example

begin
  SaveSetting('TestScript', 'Test', 'Hello World!');
  WriteLn(LoadSetting('TestScript', 'Test'));
  DeleteSetting('TestScript', 'Test');
end.

Output:

Hello World!

See Also