TextDisplay.delimiter

From MiniScript Wiki
Revision as of 21:57, 1 April 2020 by 71.226.33.30 (talk) (Created page with "<c>TextDisplay.delimiter</c>: This value is a string which is printed after every print output. === Usage Notes === Its default value is char(13), which is a carriage ret...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TextDisplay.delimiter: This value 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)