开发者

Function to know that a variable is string or number on foxpro

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜