Text:

Command groupFlag affectedReversibleExecute on clientPlatform(s)
TextNONOYESAll

Syntax

Text:
text
([
Carriage return
][,
Linefeed
][,
Platform newline
])

Options

Carriage returnIf specified,the command appends a carriage return, after it appends the text
LinefeedIf specified,the command appends a line feed, after it appends the text
Platform newlineIf specified,the command appends the newline character sequence for the currently executing platform,after it appends the text

Description

This command adds text to the text buffer for the current method stack. The Text: command supports leading and trailing spaces and can contain square bracket notation, that is, you can include or add the contents of a variable to the text buffer. You build up the text block using the Begin text block and any combination of one or more Text: or Line: commands. The Carriage return, Linefeed, and Platform newline options add the appropriate character(s) to the end of the current Text: line. When you have placed one Text: command and you press Ctrl/Cmnd-N to create a new method line, a new Text: command is added and the current carriage return and line feed options are copied to the new method line automatically. You should end a block of text with the End text block command, and you can return the contents of the text buffer using the Get text block command.