engine:import:conditionalembed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
engine:import:conditionalembed [2018/08/14 21:00] – dcumming | engine:import:conditionalembed [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | conditionalembed | + | ====== ConditionalEmbed ====== |
- | ==== ConditionalEmbed ==== | ||
Conditionally embed a file containing additional definition language elements. | Conditionally embed a file containing additional definition language elements. | ||
- | ==== Phase ==== | + | ===== Phase ===== |
This instruction is used by the TapeTrack INI Engine. | This instruction is used by the TapeTrack INI Engine. | ||
- | **ConditionalEmbed**// | + | ===== Syntax===== |
- | // | + | '' |
- | // | + | |
- | // | + | |
- | |filepath| The full or relative path to a file that you wish to embed.| | + | ^ Variable ^ Type ^ Description ^ Min Length ^ Max Length ^ |
- | |filter| A filter value.| | + | |filepath| String |
- | |string| A string value to be compared against the filter value.| | + | |filter| String |
+ | |string| String | ||
- | ==== Example ==== | + | ===== Example |
- | **ConditionalEmbed: Embed a file if the current day is Monday or | + | |
- | Tuesday.** | + | Using [[engine:import: |
- | |SetVar2Date(TODAY, | + | < |
- | |ConditionalEmbed(" | + | SetVar2Date(TODAY, |
+ | ConditionalEmbed(" | ||
+ | </ | ||
+ | |||
+ | ===== See Also ===== | ||
+ | |||
+ | [[engine: | ||
+ | [[cli: | ||
+ | [[cli: | ||
+ | |||
+ | {{tag> import_engine sync_engine}} |
engine/import/conditionalembed.1534280418.txt.gz · Last modified: 2025/01/21 22:07 (external edit)