Difference between revisions of "TextDisplay.delimiter"
Jump to navigation
Jump to search
m |
m (→Usage Notes) |
||
Line 2: | Line 2: | ||
=== Usage Notes === | === Usage Notes === | ||
− | Its default value is char(13), which is a carriage return (moves the | + | Its default value is [[char]](13), which is a carriage return (moves the |
cursor to the start of the next line). You may set it to "" (empty | cursor to the start of the next line). You may set it to "" (empty | ||
string) if you want no delimiter, allowing you to print several things | string) if you want no delimiter, allowing you to print several things | ||
− | in a row all on the same line. Note that TextDisplay.clear does not | + | in a row all on the same line. Note that [[TextDisplay.clear]] does not |
− | reset this value; you will need to manually reassign char(13) to it | + | reset this value; you will need to manually reassign [[char]](13) to it |
to restore normal behavior. | to restore normal behavior. | ||
Latest revision as of 15:05, 2 April 2020
TextDisplay.delimiter
is a string which is printed after every print output.
Usage Notes
Its default value is char(13), which is a carriage return (moves the cursor to the start of the next line). You may set it to "" (empty string) if you want no delimiter, allowing you to print several things in a row all on the same line. Note that TextDisplay.clear does not reset this value; you will need to manually reassign char(13) to it to restore normal behavior.
Example
text.delimiter = ""; print "one"; print "two"; text.delimiter = char(13)