Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

StringASCII()

  • Last UpdatedSep 24, 2024
  • 1 minute read

Renvoie la valeur ASCII du premier caractère dans une chaîne spécifiée.

Catégorie

Chaîne

Syntaxe

ResultatEntier = StringASCII( leCaractère );

Paramètre

Char

Caractère alphanumérique, chaîne ou attribut chaîne.

Remarques

Lors de l'exécution de cette fonction, un seul caractère est testé ou affecté. Si la chaîne paramètre de la fonction StringASCII() contient plus d'un caractère, seul le premier caractère de la chaîne est testé.

Exemples

StringASCII("A"); ' renvoie 65;

StringASCII("Avec un mélangeur en exécution"); ' renvoie 65;

StringASCII("avec un mélangeur en exécution"); ' renvoie 97;

Voir également

StringChar()

StringFromIntg()

StringFromReal()

StringFromTime()

StringInString()

StringLeft()

StringLen()

StringLower()

StringMid()

StringReplace()

StringRight()

StringSpace()

StringTest()

StringToIntg()

StringToReal()

StringTrim()

StringUpper()

Text()

In This Topic