Conditionally embed a file containing additional definition language elements.
This instruction is used by the TapeTrack INI Engine.
ConditionalEmbed(filepath, filter, value);
Variable | Type | Description | Min Length | Max Length |
---|---|---|---|---|
filepath | String | The full or relative path to a file that you wish to embed. | 1 | 256 |
filter | String | A filter value. | 1 | 1024 |
string | String | A string value to be compared against the filter value. | 1 | 256 |
Using SetVar2Date, embed a file if the current day is Monday or Tuesday.
SetVar2Date(TODAY, "*", "%%A"); ConditionalEmbed("montue_ttidef", "*(Monday|Tuesday)", $TODAY);