Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some function?
Message
From
09/10/2002 12:36:56
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
08/10/2002 16:43:42
Fabian Belo
Independent Developer
Argentina
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00709013
Message ID:
00709352
Views:
18
>VFP 6.0: Is there any function to display if my string is non numeric?
>ie:
>string: 123RTY234 (non numeric)
>string: FHE1234 (non n)
>string: 121345 (numeric)
>
>IsDigit() look only the first char...
>Val() returns zero if first char. is alphab.

?type(cExpr)="N"

...Though that would also return .t. if the cExpr was something like "x+y" and both x and y were existing numeric variables.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform