Difference between revisions of "83Plus:Basic:Graphics:Disp"

From WikiTI
Jump to: navigation, search
(Disp)
Line 10: Line 10:
 
== Outputs: ==
 
== Outputs: ==
  
''Value'' will be displayed at the current value of (curRow). (curRow) is then increased. If (curRow) is 7, the screen will shift up instead up increasing (curRow).
+
''Value'' will be displayed at the current value of ([[83Plus:RAM:844B|curRow]]). ([[83Plus:RAM:844B|curRow]]) is then increased. If ([[83Plus:RAM:844B|curRow]]) is 7, the screen will shift up instead up increasing ([[83Plus:RAM:844B|curRow]]).
  
 
''value'' can be a string, a variable, a matrix or a list. If ''value'' is a string, then it will be aligned to the left. If it's a variable, matrix or list, then it will be displayed aligned to the right.  
 
''value'' can be a string, a variable, a matrix or a list. If ''value'' is a string, then it will be aligned to the left. If it's a variable, matrix or list, then it will be displayed aligned to the right.  
Line 26: Line 26:
  
 
== See also: ==
 
== See also: ==
[[83Plus:RAM:844B]]
 

Revision as of 05:00, 16 July 2005


Synopsis

Token size: 1 byte

Syntax: Disp [value1,value2,...]

Displays a value or text on the homescreen.

Outputs:

Value will be displayed at the current value of (curRow). (curRow) is then increased. If (curRow) is 7, the screen will shift up instead up increasing (curRow).

value can be a string, a variable, a matrix or a list. If value is a string, then it will be aligned to the left. If it's a variable, matrix or list, then it will be displayed aligned to the right.

If a matrix or list has too much elements to show on the screen at once, (...) will be shown, but you can scroll through the list. Use Pause if you want to be able to scroll to the list.

Comments

STO (->) can't be displayed in a string with Disp.

Example

:Disp "string",5,{1,2,3},[[3,3][3,3]]
:Disp Str1,A,L1,[A]

See also: