SAVE - < var_save >() ... [Pro]
Variable SAVE |
||||||||||||||
The command saves (persists) variable value to a file. The variable content can be later loaded again using command. The same file can be used for multiple (unlimited number) variables because each variable has its own section within the file. |
||||||||||||||
|
||||||||||||||
|
||||||||||||||
Example (Macro Steps):
|
||||||||||||||
|
Example (Plain Text):
<#> This macro demonstrates use of <var_load> and <var_save> commands
<#>
<cmds>
<varset>("vName=John","")
<var_save>("vName","c:\_myvars.dat")
<varset>("vName=Michael","")
<var_load>("vName","c:\_myvars.dat")
<msg>(100,100,"vName","Message",1)