====== 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 [[engine:import:setvar2date|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|Import Engine Functions]] \\ [[cli:sync_fields|Sync Engine Fields]] \\ [[cli:tmss10sync|TMSS10Sync]] {{tag> import_engine sync_engine}}