Public Function StringAscToIntegerVector( _ ByRef rChars() As Integer _ , ByVal vString As Variant _ ) As Boolean
Assuming Dim aintChars() As Integer for example StringAscToIntegerVector(aintChars(), "CCBA") = True leaves LBound(aintChars) = 0 UBound(aintChars) = 4 aintChars(0) = Empty aintChars(1) = 67 aintChars(2) = 67 aintChars(3) = 66 aintChars(4) = 65See also:
IntegerVectorToStringAsc FunctionrChars: Dynamic one-dimensional array of integer values. Each element in the array will be assigned the ASCII value of the character at the corresponding position within string vString.
Function returns True upon success.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.