Campbell CR800 Specifikace Strana 270

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 324
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 269
Section 11. String Functions
11-4
StrComp (String1, String2)
The StrComp function is used to compare two strings by subtracting the
characters in one string from the characters in another.
Syntax
Variable = StrComp ( String1, String2 )
Remarks
The StrComp instruction is typically used to determine if two strings are
identical. Starting with the first character in each string, the characters in
String2 are subtracted from the characters in String1 until the difference is non-
zero or until the end of String2 is reached. The result of this instruction is an
integer in the range of -255 to +255. If 0 is returned, the strings are identical.
UpperCase (SourceString)
Returns an upper case string of SourceString
Zobrazit stránku 269
1 2 ... 265 266 267 268 269 270 271 272 273 274 275 ... 323 324

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

Žádné komentáře