hp40g+.book Page 26 Friday, December 9, 2005 1:03 AM
PRVAR | Prints name and contents of variablename. |
| PRVAR variablename: |
| You can also use the PRVAR command to print the |
| contents of a program or a note. |
| PRVAR programname;PROG: |
| PRVAR notename;NOTE: |
BEEP | Beeps at the frequency and for the time you specify. | |||
| BEEP frequency;seconds: | |||
CHOOSE | Creates a choose box, which is a box containing a list of | |||
| options from which the user chooses one. Each option is | |||
| numbered, 1 through n. The result of the choose | |||
| command is to store the number of the option chosen in a | |||
| variable. The syntax is: | |||
| CHOOSE variable_name; title; option1; option2; | |||
| ...optionn: | |||
| where variable_name is the name of a variable for | |||
| storing a default option number, title is the text displayed | |||
| in the title bar of the choose box, and option1...optionn | |||
| are the options listed in the choose box. | |||
| By | |||
| specify the default option number, as shown in the | |||
| example below. | |||
| Example | |||
| 3 X A:CHOOSE A; |
|
|
|
|
|
|
| |
| "COMIC STRIPS"; |
|
|
|
| "DILBERT"; |
|
|
|
| "CALVIN&HOBBES"; |
|
|
|
| "BLONDIE": |
|
|
|
CLRVAR | Clears the specified variable. The syntax is: | |||
| CLRVAR variable : |
|
| Programming | |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|