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

From WikiTI
Jump to: navigation, search
 
 
Line 1: Line 1:
 
[[Category:83Plus:Basic:Graphics|Pause]]
 
[[Category:83Plus:Basic:Graphics|Pause]]
{{missinfo|Number of bytes for token}}
 
  
 
== Synopsis ==
 
== Synopsis ==
'''Token size:''' 1 byte?
+
'''Token size:''' 1 byte
  
 
'''Syntax:''' Pause [string]
 
'''Syntax:''' Pause [string]

Latest revision as of 01:53, 5 November 2006


Synopsis

Token size: 1 byte

Syntax: Pause [string]

Waits for the Enter key to be pressed, optionally displaying a string first.

Outputs:

The program will print the string, if present, then stop until the user presses the Enter key.

Comments

Using Pause to display a string is the equivalent of:

:Disp [string]
:Pause

The only difference (besides saving a byte or two) is that values too long to be shown on one line can be scrolled if displayed with Pause, but not if displayed with Disp. For more information about displaying strings, see Disp.