>Hello once again, me and my Vfp50 illiterate companions have once again found a problem our limited experience can't solve. How do you convert a String containing an integer to and integer variable. I apologize for the simplicity of the problem.
It depends what you mean by 'integer' - VFP does not have an equivalent to C integer type. Do you mean 'numeric variable' - if so, see other replys. If you mean that you have a C style integer, use ASC(variable) - this will give the ASCII value of the first character in a string variable returned as a numeric variable. Example: string='abc', num=ASC(string), num then contains 49.