|
<< Click to Display Table of Contents >> Store arguments in ROM |
![]() ![]()
|
saveboolinrom(Input1, Input2) - save boolean argument with name in Input1 in ROM storage. Input2 contains value to save.
Example:
saveboolinrom("bool",Tags.Bool);
saveintinrom(Input1, Input2) - save integer argument with name in Input1 in ROM storage. Input2 contains value to save.
Example:
saveintinrom("int",Tags.Integer);
savelonginrom(Input1, Input2) - save long argument with name in Input1 in ROM storage. Input2 contains value to save.
Example:
savelonginrom("long",Tags.Long);
savedoubleinrom(Input1, Input2) - save double argument with name in Input1 in ROM storage. Input2 contains value to save.
Example:
savedoubleinrom("double",Tags.Double);
savestringinrom(Input1, Input2) - save string argument with name in Input1 in ROM storage. Input2 contains value to save.
Example:
savestringinrom("double",Tags.String);
loadboolfromrom(Input1, Input2) - load boolean argument with name in Input1 from ROM storage. Input2 contains default value.
Example:
Tags.Bool = loadboolfromrom("bool", false);
loadintfromrom(Input1, Input2) - load integer argument with name in Input1 from ROM storage. Input2 contains default value.
Example:
Tags.Integer = loadintfromrom("int", 0);
loadlongfromrom(Input1, Input2) - load long argument with name in Input1 from ROM storage. Input2 contains default value.
Example:
Tags.Long = loadlongfromrom("long", 0);
loaddoublefromrom(Input1, Input2) - load double argument with name in Input1 from ROM storage. Input2 contains default value.
Example:
Tags.Double = loaddoublefromrom("double", 0.0);
loadstringfromrom(Input1, Input2) - load string argument with name in Input1 from ROM storage. Input2 contains default value.
Example:
Tags.String = loadstringfromrom("string", "");