HP 39GS hp 39gs_user's guide_English_E_HDPMG39AE13.pdf - Page 251
GETKEY, INPUT, MSGBOX, INPUT R; Circular Area, Radius, Enter Number;1, AREA IS, MSGBOX AREA IS
UPC - 808736931328
View all HP 39GS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 251 highlights
GETKEY INPUT MSGBOX Programming Waits for a key, then stores the keycode rc.p in name, where r is row number, c is column number, and p is keyplane number. The key-planes numbers are: 1 for unshifted; 2 for shifted; 4 for alpha-shifted; and 5 for both alpha-shifted and shifted. GETKEY name: Creates an input form with a title bar and one field. The field has a label and a default value. There is text help at the bottom of the form. The user enters a value and presses the menu key. The value that the user enters is stored in the variable name. The title, label, and help items are text strings and need to be enclosed in double quotes. Use CHARS to type the quote marks " ". INPUT name;title,label;help;default: Example INPUT R; "Circular Area"; "Radius"; "Enter Number";1: Displays a message box containing textitem. A text item consists of any number of expressions and quoted strings of text. The expressions are evaluated and turned into strings of text. For example, "AREA IS:" 2 +2 becomes AREA IS: 4. Use CHARS to type the quote marks " ". MSGBOX textitem: Example 1 A: MSGBOX "AREA IS: "π*A^2: You can also use the NoteText variable to provide text arguments. This can be used to insert line breaks. For example, press NOTE and type AREA IS . The position line MSGBOX NoteText " " π*A^2: will display the same message box as the previous example. 18-29