>Hi all,
>
>Was wondering if there is a method for converting from a character to an int. I've tried to convert from a character to a binary and then from a binary to an int, but it just gives me the integer value of the binary.
>
>I know there is a method from converting from an int to a char, but if you could tell me a way or method which converts from a char to an int, it would be a great help.
>
>Sorry if this question is a tad mediocre, but I have only recently started using Foxpro, and don't fully know all methods!
>
>Thanks in advance,
Mick,
lcStr = "145646"
lnInt = INT(VAL(lcStr))
--sb--