Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TEMPLATE$(Template$, ReplaceMode%=0,1,2, [InpVar])

Arguments

  • Template$ is a string/document containing the textual skeleton of the document to be created, including parameters and format statements
  • ReplaceMode% is an option how to replace the parameters in the template when "~" is used:
    • ReplaceMode% = 0: first remove "~ParName" and then overwrite the value of ParName over the remaining text starting on position of ~
    • ReplaceMode% = 1: first overwrite "~ParName" with spaces (the amount specified as Cell width in the Slots & Properties of the parameter) and then overwrite the value ofParName over the remaining text starting on position of ~
    • ReplaceMode% = 2: first remove "~ParName" and then insert the value of ParName
  • InpVar is InpVar is an optional list of parameters present as labels in Template$ to be replaced by their values.

...

NPROP will be determined by Queastor because it is a parameter in this relation (InpVar).

This relation returns for NPROP=1 :

...