HP Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 638

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 637
UPPER
Converts lowercase characters in a string to uppercase.
Examples:
UPPER("abc") returns "ABC"
UPPER("αβγ") returns "ΑΒΓ"
CHAR
Syntax: CHAR(vector) or CHAR(integer)
Returns the string corresponding to the character codes in vector, or the single code of integer.
Examples: CHAR(65) returns "A"
CHAR([82,77,72]) returns "RMH"
DIM
Syntax: DIM(string)
Returns the number of characters in string.
Example: DIM("12345") returns 5, DIM("""") and DIM("\n") return 1. (Notice the use of the two
double quotes and the escape sequence.)
STRING
Syntax: STRING(Expression, [Mode], [Precision], [Separator] or {Separator,
["[DecimalPoint[Exponent[NegativeSign]]]"], [DotZero]}], [SizeLimit] or
{SizeLimit, [FontSize], [Bold], [Italic], [Monospaced]}]
Evaluates Expression and returns the result as a string.
The extra parameters specify how numbers are displayed.
If Mode is specied, it must be:
0: Use current setting
1: Standard
2: Fixed
3: Scientic
4: Engineering
5: Floating
6: Rounded
Add 7 to this value to specify proper fraction mode and 14 for mixed fraction mode.
Precision is either -1 for current settings or 0 to 12.
Separator is a string containing a set of digits and separators. The last digit is assumed to be the one just
before the decimal point. Separator can also be a number. -1 means use default, 0 to 10 specify the use of
one of the 11 built-in separators available in home settings.
590 Chapter 28 Programming in HP PPL
Przeglądanie stron 637
1 2 ... 633 634 635 636 637 638 639 640 641 642 643 ... 700 701

Komentarze do niniejszej Instrukcji

Brak uwag