Hp Prime Graphing Wireless Calculator Instrukcja Użytkownika Strona 279

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 334
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 278
Programming in HP PPL 275
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 (object);
Returns a string representation of object. The result varies
depending on the type of object.
Examples:
INSTRING Syntax: INSTRING (str1,str2)
Returns the index of the first occurrence of str2 in str1.
Returns 0 if str2 is not present in str1. Note that the first
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 first 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)
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]]"
123
456
Przeglądanie stron 278
1 2 ... 274 275 276 277 278 279 280 281 282 283 284 ... 333 334

Komentarze do niniejszej Instrukcji

Brak uwag