Difference between revisions of "83Plus:Basic:Graphics:Output("
From WikiTI
(→Comments: +bit about leaving out terminating ") |
(→Comments: reworded my last esit) |
||
Line 19: | Line 19: | ||
*The double quote (") cannot be displayed with Output, as it always is treated as a string deliminer. | *The double quote (") cannot be displayed with Output, as it always is treated as a string deliminer. | ||
*The ending parenthesis ) isn't needed, and can be left out to save a byte. | *The ending parenthesis ) isn't needed, and can be left out to save a byte. | ||
− | *As always when | + | *As always when working with a string, the ending quote " isn't needed if nothing else is to follow before a newline, and can be left out to save a byte. |
== Example == | == Example == |
Revision as of 05:15, 19 July 2005
Contents
Synopsis
Token size: 1 byte
Syntax: Output(X,Y,value
Displays a value or text on the homescreen, at position (X,Y).
Outputs:
Value will be displayed at X,Y, where X is an integer value from 1-8, and Y is an integer value from 1-16.
Value can be a string, a list, a variable and a matrix. If the content of value doesn't fit on the current line, it will start at the beginning of the next line, unless it already is at the bottom of the screen.
Comments
- STO (->) cannot be displayed in a string with Output.
- The double quote (") cannot be displayed with Output, as it always is treated as a string deliminer.
- The ending parenthesis ) isn't needed, and can be left out to save a byte.
- As always when working with a string, the ending quote " isn't needed if nothing else is to follow before a newline, and can be left out to save a byte.
Example
:Output(1,1,"wikiTI rocks :Output(2,1,A