Versions Compared

Key

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

...

  1. If ValExp is out of the range of TEXTITEM$, "NullString" is returned.
  2. Please make sure that the delimiters you are using around your text item are different from the text you use inside the script!
  3. The text items should be stored in the data slot of the expression in which the TEXTITEM$() function is used.
  4. The TEXTITEM definitions in the data slot may be delimited with quotes (") but also other characters may be used as long as the starting and ending is the same and is not used in the template itself. So if you want to use quotes in the content of a TEXTITEM you better use "|" as delimiter (see example)
  5. TEXTITEM$ is very useful in combination with other functions to refer to fixed datasets (for instance series of coefficients etc.). Moreover, it is a very convenient way to combine it with the TEMPLATE$() function so you can write your templates in the dataslot of expression using the TEMPLATE$ function

...

contains the following items:

TEXTITEM0 = "NullString"

TEXTITEM1 = 
"The ship is equiped with a diesel-electric propulsion system. 
"

...