
A trailing semicolon overrides the cursor-return so that the next PRINT statement begins where the last left off. If no
trailing punctuation is used with a PRINT statement, the cursor drops to the beginning of the next line.
[@location]
If the console you are printing to has the ifTextField interface, you can use the @ character to specify where printing will
begin.
Example:
print #m.text_field,@width*(height/2-1)+(width-len(msg$))/2,msg$;
Whenever you use PRINT @ on the bottom line of the display, an automatic line-feed causes all displayed lines to move
up one line. To prevent this from happening, use a trailing semicolon at the end of the statement.
TAB (expression)
This statement moves the cursor to the specified position on the current line (modulo the width of the console if the TAB
position is greater than the console width).
Example:
print tab(5)"tabbed 5";tab(25)"tabbed 25"
Note the following about the TAB statement:
• The TAB statement may be used several times in a PRINT list.
• No punctuation is required after a TAB statement.
• Numerical expressions may be used to specify a TAB position.
• The TAB statement cannot be used to move the cursor to the left.
• If the cursor is beyond the specified position, the TAB statement is ignored.
Comentarios a estos manuales