engine:import:conditionalembed
This is an old revision of the document!
Table of Contents
ConditionalEmbed
Conditionally embed a file containing additional definition language elements.
Phase
This instruction is used by the TapeTrack INI Engine.
Syntax
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 |
Example
Using SetVar2Date, embed a file if the current day is Monday or Tuesday.
SetVar2Date(TODAY, "*", "%%A"); ConditionalEmbed("montue_ttidef", "*(Monday|Tuesday)", $TODAY);
See Also
engine/import/conditionalembed.1583978343.txt.gz · Last modified: 2025/01/21 22:07 (external edit)