HP Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 637

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 636
BEGIN
FunctionDefinition
END;
In a program, declares the functions or variables to export globally. The exported functions appear in the
Toolbox User menu and the exported variables appear in the Vars CAS, App, and User menus.
Examples:
EXPORT X2M1(X);
Export X2M1(X)
BEGIN
RETURN X^2-1;
END;
VIEW
Syntax: VIEW “text”, functionname();
Replaces the View menu of the current app and adds an entry with “text”. If “text” is selected and the user
presses or , then functionname() is called.
KEY
A prex to a key name when creating a user keyboard. See The User Keyboard: Customizing key presses
on page 571.
Commands under the Cmds menu
Strings
A string is a sequence of characters enclosed in double quotes (""). To put a double quote in a string, use two
consecutive double quotes. The \ character starts an escape sequence, and the character(s) immediately
following are interpreted specially. \n inserts a new line and two backslashes insert a single backslash. To put
a new line into the string, press
to wrap the text at that point.
ASC
Syntax: ASC (string)
Returns a list containing the ASCII codes of string.
Example: ASC ("AB") returns [65,66]
LOWER
Converts uppercase characters in a string to lowercase.
Examples:
LOWER("ABC") returns "abc"
LOWER("ΑΒΓ") returns "αβγ"
Program commands 589
Przeglądanie stron 636
1 2 ... 632 633 634 635 636 637 638 639 640 641 642 ... 700 701

Komentarze do niniejszej Instrukcji

Brak uwag