TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


engine:import:setvar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
engine:import:setvar [2018/08/14 21:07] – created dcummingengine: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);//+ 
 +''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 PATHNAME to C:\tapetrack\stuff
-|value| The literal value to assign to the local variable.|+<code> 
 +SetVar(PATHNANE, "C\tapetrack\stuff"); 
 +Embed("$PATHNAME.\myfile.ttifef"); 
 +</code>
  
-==== Example ==== +{{tag> import_engine sync_engine}}
-**SetVar: Set the variable PATHNAME to C:\tapetrack\stuff.** +
-|SetVar(PATHNANE, "C\tapetrack\stuff");+
-|Embed("$PATHNAME.\myfile.ttifef");|+
engine/import/setvar.1534280828.txt.gz · Last modified: 2025/01/21 22:07 (external edit)