>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.
Assume:
cVar = Character (string) variable "100.00"
The code is:
nVar = INT(VAL(cVar))
nVar = 100
There is no specific integer type variable in VFP
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05