0

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.

Class Skeleton
  • 2,913
  • 6
  • 31
  • 51
banzai
  • 131
  • 11

2 Answers2

1

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

William Mioch
  • 917
  • 9
  • 21
0

Have a look at the Vartype() function - it will return 'N' for numeric, 'C' for character and so on.

Alan B
  • 4,086
  • 24
  • 33