Denso Power Net Terminal BHT-7500 Specifikace Strana 94

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 560
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 93
Chapter 6. Expressions and Operators
85
6.3.4 Function Operators
The following two types of functions are available in BHT-BASIC, both of which work as func-
tion operators:
Built-in Functions
Already built in BHT-BASIC, e.g., ABS and INT.
User-defined Functions
Defined by using DEF FN (in single-line form), DEF FN...END DEF (in block form),
SUB...END SUB, or FUNCTION...END FUNCTION statement.
6.3.5 String Operators
A character string operator may concatenate or compare character strings.
Listed below are the types of character string operators available.
Concatenation of Character Strings
The process of combining character strings is called concatenation and is executed
with the plus sign (+). The example below concatenates the character strings,
a$ and
b$.
a$="Work1" : b$ = "dat"
PRINT a$+"."+b$
Operations Character String Operators Examples
Concatenation
+ (Plus sign) a$+"."+b$
Comparison
= (Equal) a$=b$
<>, ><
(Not equal) a$<>b$, a$><b$
>, <, =<, =>, <=, >=
(Greater or less) a$>b$, a$=>b$
Work1.dat
Zobrazit stránku 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 559 560

Komentáře k této Příručce

Žádné komentáře