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.1256
filter String A filter value.11024
string String A string value to be compared against the filter value.1256

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

Import Engine Functions
Sync Engine Fields
TMSS10Sync