HP Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 639

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 638
“[DecimalPoint[Exponent[NegativeSign]]]” is a string of 0 to 3 characters. The rst one will be
used for the decimal point, the second for the exponent and the last one for the negative sign.
If DotZero is non-zero, then numbers are displayed in the form .1 instead of 0.1
If SizeLimit is specied, the command will attempt to generate a representation of the number that ts in
the given number of pixels. You can also specify the font size (10 to 22) and properties (bold, italic and mono-
spaced being Boolean values with 0 being false). There is no guarantee that the result will t, but the
command will attempt to make it t.
Examples:
String Result
string(F1), when F1(X) = COS(X) "COS(X)"
STRING(2/3) 0.666666666667
string(L1) when L1 = {1,2,3} "{1,2,3}"
string(M1) when M1 = "[[1,2,3],[4,5,6]]"
INSTRING
Syntax: INSTRING (str1,str2)
Returns the index of the rst occurrence of str2 in str1. Returns 0 if str2 is not present in str1. Note that the
rst character in a string is position 1.
Examples:
INSTRING ("vanilla","van") returns 1
INSTRING ("banana","na") returns 3
INSTRING ("ab","abc") returns 0
LEFT
Syntax: LEFT (str,n)
Return the rst n characters of string str. If n ≥ DIM(str) or n < 0, returns str. If n == 0 returns the string.
Example: LEFT("MOMOGUMBO",3) returns "MOM"
RIGHT
Syntax: RIGHT(str,n)
Returns the last n characters of string str. If n <= 0, returns empty string. If n > DIM(str), returns str
Example: RIGHT("MOMOGUMBO",5) returns "GUMBO"
MID
Syntax: MID(str,pos, [n])
Program commands 591
Przeglądanie stron 638
1 2 ... 634 635 636 637 638 639 640 641 642 643 644 ... 700 701

Komentarze do niniejszej Instrukcji

Brak uwag