VAL() converts a string to a numeric type. If you need to put the value in a field of type integer, you can just do it as if it were an integer value. FoxPro does an implicit numeric-to-integer conversion.
>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.