User Tools

Site Tools


ded:text

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ded:text [2017-03-16 09:30]
skyjake
ded:text [2017-03-16 09:33] (current)
skyjake
Line 7: Line 7:
 using the index numbers of the strings, and the indices are assigned based using the index numbers of the strings, and the indices are assigned based
 on the order of the Text definitions. on the order of the Text definitions.
- 
- 
-===== Syntax ===== 
  
   Text   Text
   {   {
-     ID = "";​ +     ID = "DD_STRNG"; 
-         # Identifier of the text string. +     Text = "Example string";
-     Text = "";​ +
-         # The string itself. Backslash (\) is used as an escape +
-         # character: \n = newline. Quotes (") must be escaped or the +
-         # parser will think the string ends ("Say \"​Hello!\""​). The +
-         # string can be divided onto multiple lines, in which case the +
-         # parser will skip to the first non-space character of the +
-         # next line when it encounters an end of line. For example +
-         # the following two strings are identical:​ +
-         # +
-         # "This is a long +
-         # ​   string?"​ +
-         # +
-         # "This is a longstring?"​ +
-         # +
-         # The escape sequence \_ translates to a normal space +
-         # character, so these two strings are also identical:​ +
-         # +
-         # "This is another long +
-         # ​  ​\_string."​ +
-         # +
-         # "This is another long string."​ +
-         #+
   }   }
 +
 +
 +===== Syntax =====
 +
 +==== ID ====
 +Identifier of the text string.
 +
 +==== Text ====
 +The string itself. Backslash (\) is used as an escape
 +character: \n = newline. Quotes (") must be escaped or the
 +parser will think the string ends ("Say \"​Hello!\""​). The
 +string can be divided onto multiple lines, in which case the
 +parser will skip to the first non-space character of the
 +next line when it encounters an end of line. For example
 +the following two strings are identical:
 +
 +  "This is a long
 +     ​string?"​
 +  ​
 +  "This is a longstring?"​
 +
 +The escape sequence ''​\_''​ translates to a normal space
 +character, so these two strings are also identical:
 +
 +  "This is another long
 +      \_string."​
 +  ​
 +  "This is another long string."​
 +
ded/text.txt · Last modified: 2017-03-16 09:33 by skyjake