tinux
Messages postés244Date d'inscriptionmercredi 13 avril 2005StatutMembreDernière intervention21 octobre 2013
-
7 févr. 2006 à 09:45
tinux
Messages postés244Date d'inscriptionmercredi 13 avril 2005StatutMembreDernière intervention21 octobre 2013
-
7 févr. 2006 à 11:11
Bonjour ! J'ai un petit problème... j'utilise dans mon prog la fonction Chr(val) d'un caractère ascii
J'aimerais savoir à partir de quelle valeur Chr s'annule...
par exemple Chr(1235) ne vas pas marcher...
Merci @+
saebe
Messages postés12Date d'inscriptionlundi 6 février 2006StatutMembreDernière intervention 8 février 2006 7 févr. 2006 à 09:53
Salut
Dans le help tu trouve cela, j'espère que ça t'aide?
saebe
***
Syntax
Chr(charcode)
The required charcode [javascript:hhobj_6.Click() argument] is a [javascript:hhobj_7.Click() Long] that identifies a character.
Remarks
Numbers from 0 31 are the same as standard, nonprintable [javascript:hhobj_8.Click() ASCII] codes. For example,
Chr(10) returns a linefeed character. The normal range for
charcode is 0 255. However, on [javascript:hhobj_9.Click() DBCS] systems, the actual range for
charcode is -32768 to 65535.
Note The ChrB function is used with byte
data contained in a String. Instead of returning a character, which may
be one or two bytes, ChrB always returns a single byte. The ChrW function returns a String containing the [javascript:hhobj_10.Click() Unicode] character except on platforms
where Unicode is not supported, in which case, the behavior is identical to the
Chr function.