mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-24 02:02:17 -05:00
17 lines
551 B
Plaintext
17 lines
551 B
Plaintext
program new;
|
|
begin
|
|
GetSettingValueDef('Testme/wat','Yo wat');
|
|
GetSettingValueDef('Testme/wat2','Yo wat2');
|
|
Writeln(GetSettingValue('Testme/wat'));
|
|
if KeyIsDirectory('Testme') then
|
|
Writeln('Testme has atleast one child!');
|
|
if KeyIsSetting('Testme/wat') then
|
|
writeln('wat exists in the parent Testme!');
|
|
DeleteSetting('Testme/wat');
|
|
Writeln(GetSettingValue('Testme/wat2'));
|
|
Writeln(GetSettingValue('Testme/wat'));
|
|
writeln(DeleteSubSettings('Testme'));
|
|
if KeyIsSetting('Testme') then
|
|
writeln('Testme is a key now!');
|
|
end.
|