Template Keywords

Text - sentence

The /sentence/ keyword allows you to form paragraphs of text from separate lines in the Template Editor

/sentence/,<text>

This keyword was originally needed to work around the a limit on the maximum line length allowed in old SM-Reports. If you have a paragraph of text that is composed of several sentences by having one line with this keyword for each sentence the whole paragraph is then printed with the /text/ keyword.

Example

This shows the three sentence as a single paragraph. The longtext on the /text/ line makes SM-Reports join any previous sentences into a single paragraph of text.

/sentence/,"This is the first sentence of the paragraph. "
/sentence/,"This is the second sentence of the paragraph. "
/sentence/,"This is the third sentence of the paragraph. "
/text/,0,0,1800,500,longtext
  • While no longer necessary, splitting text over multiple lines can be convenient when viewing the template.
  • Putting the text of each sentence within the quotes allows the sentence to include commas and include the space after the period.
  • The sentences are joined exactly as they are in the script, which means normally you must include a space at the end of the sentence.

 

Contents
Search