Campbell CR800 Spécifications Page 270

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 324
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 269
1 2 ... 265 266 267 268 269 270 271 272 273 274 275 ... 323 324

Commentaires sur ces manuels

Pas de commentaire