开发者

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

开发者 https://www.devze.com 2023-04-08 09:50 出处:网络
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 s

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

精彩评论

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

关注公众号