Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
check variable type
#2
1. No. Why need it? If the variable is VARIANT, can check its vt member.

2.
Macro Macro1836
Code:
Copy      Help
str s="setup_v1.0"
if s.len and isdigit(s[s.len-1])
,out "ends with a number"

When need val:
int i j
i=val(s 0 j)
if j
,out "valid number, value %i, number string ends at %i" i j


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)