HP 9g Graphing Calculator User Manual
Page 26
E-26
Before Using the Program Area
Number of Remaining Steps: The program capacity is 400 steps. The 
number of steps indicates the amount of storage space available for 
programs, and it will decrease as programs are input. The number of 
remaining steps will also decrease when steps are converted to memories. 
See Array Variables above. 
Program Type: You must specify in each program the calculation mode that 
the calculator should enter when executing the program. To perform binary, 
octal or hexadecimal calculations or conversions, choose BaseN; otherwise 
choose MAIN. 
Program Area: There are 10 program areas for storing programs (P0–P9 ). If 
an area has a program stored in it, its number is displayed as a subscript (as 
in P
1
).
Program Control Instructions
The calculator’s programming language is similar to many programming 
languages, such as BASIC and C. You can access most of the programming 
commands from the program control instructions. You display these 
instructions by pressing [ 2nd ] [ INST ]. 
Clear screen command
CLS
⇒
Clear the display on the screen.
Input and output commands