Metrologic IS1000 Series Betriebsanweisung Seite 44

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 198
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 43
38
CipherLab BASIC Compiler
User's Guide
Example
A$ = CHR$(65) ' A$ = "A"
HEX$
Purpose
To return a string that represents the hexadecimal value (base 16) of the decimal
argument.
Syntax
A$ = HEX$(N%)
Remarks
"A$" is a string variable to be assigned to the result.
"N%" is a numeric expression in the range of 0 to 2,147,483,647; it is rounded to an
integer before HEX$(N%) is evaluated.
Example
A$ = HEX$(140) ' A$ = "8C"
LCASE$
Purpose
To return a copy of a string in which all uppercase letters will be converted to
lowercase letters.
Syntax
A$ = LCASE$(X$)
Remarks
"A$" is a string variable to be assigned to the result.
"X$" may be a string variable, string expression, or string constant.
Example
String1$ = "John Thomas"
String2$ = LCASE$(String1$)
' String2$ = "john thomas"
OCT$
Purpose
To convert a decimal numeric expression to a string that represents the value of the
numeric expression in octal notation.
Syntax
A$ = OCT$(N%)
Remarks
"A$" is a string variable to be assigned to the result.
"N%" is a numeric expression in the range 0 to 2,147,483,647; it is rounded to an
integer before OCT$(N%) is evaluated.
Example
A$ = OCT$(24) ' A$ = "30"
STR$
Purpose
To convert a numeric expression to a string.
Seitenansicht 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 197 198

Kommentare zu diesen Handbüchern

Keine Kommentare