在 foxpro 上知道变量是字符串还是数字的函数 [英] Function to know that a variable is string or number on foxpro

查看:31
本文介绍了在 foxpro 上知道变量是字符串还是数字的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很难在 foxpro 6 或其他版本上判断变量是字符串还是数字.我是这门语言的新手.

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.

推荐答案

您可以使用 VARTYPE 或 TYPE 函数 - 它们略有不同,您应该在决定使用哪个之前查看文档.

You can use the VARTYPE or TYPE functions - these are slightly different and you should review the documentation before deciding which to use.

这篇关于在 foxpro 上知道变量是字符串还是数字的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆