engine:import:conditionalembed
This is an old revision of the document!
Table of Contents
conditionalembed
ConditionalEmbed
Conditionally embed a file containing additional definition language elements.
Phase
This instruction is used by the TapeTrack INI Engine.
ConditionalEmbed(filepath, filter, value);
string filepath;
string filter;
string value;
filepath | The full or relative path to a file that you wish to embed. |
filter | A filter value. |
string | A string value to be compared against the filter value. |
Example
ConditionalEmbed: Embed a file if the current day is Monday or Tuesday. SetVar2Date(TODAY, “*”, “%%A”); ConditionalEmbed(“montue_ttidef”, “*(Monday|Tuesday)”, $TODAY);
engine/import/conditionalembed.1534280312.txt.gz · Last modified: 2025/01/21 22:07 (external edit)