I am having a difficult time telling that a variable is string or number on foxpro 6 or other version. I am new in 开发者_开发问答this languages.
You can use the VARTYPE or TYPE functions - these are slightly different and you should review the documentation before deciding which to use.
Have a look at the Vartype() function - it will return 'N' for numeric, 'C' for character and so on.
精彩评论