String

Strings
A string is any sequence of characters (letters, numerals, symbols and punctuation marks). They can be assigned to a variable and drawn/shown on the screen. Strings always start and with speech marks.

Line Breaking
In strings, # symbols indicate line breaks.

message="Thank you Mario. #But our princess is in another castle."

The above string stored in the variable message would contain two lines - 'Thank you Mario' and the next line 'But our princess is in another castle'.

Adding a back slash (\) before # will change the line break into the symbol '#'. For example:

message="Number \#012." Note that the # symbol only functions as a newline in a GM made game. If you export the string using a file function, DLL or clipboard function it will show as the # symbol. For a real newline use chr(13)+chr(10) (ASCII code for a Carriage Return and a Line Feed)