engine:import:setvar
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| engine:import:setvar [2018/08/14 21:07] – created dcumming | engine:import:setvar [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | setvar | + | ====== SetVar ====== |
| - | ==== SetVar ==== | ||
| Set a local variable to a literal value. | Set a local variable to a literal value. | ||
| - | ==== Phase ==== | + | ===== Phase ===== |
| This instruction is used by the TapeTrack INI Engine. | This instruction is used by the TapeTrack INI Engine. | ||
| - | ==== Syntax ==== | + | ===== Syntax ===== |
| - | **SetVar**//(varname, value);// | + | |
| + | '' | ||
| + | |||
| + | ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ | ||
| + | |varname | String | The name of the local variable to be set.| 1 | 16 | | ||
| + | |value| String | The literal value to assign to the local variable.| 1 | 64 | | ||
| - | //string varname;// | + | ===== Example ===== |
| - | //string value;//\\ | + | |
| - | |varname |The name of the local variable to be set.| | + | Set the variable |
| - | |value| The literal value to assign to the local variable.| | + | < |
| + | SetVar(PATHNANE, | ||
| + | Embed(" | ||
| + | </ | ||
| - | ==== Example ==== | + | {{tag> import_engine sync_engine}} |
| - | **SetVar: Set the variable PATHNAME to C: | + | |
| - | |SetVar(PATHNANE, | + | |
| - | |Embed(" | + | |
engine/import/setvar.1534280828.txt.gz · Last modified: 2025/01/21 22:07 (external edit)
