Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IsNumeric - VFP analogue?
Message
From
25/12/1999 10:34:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00307922
Message ID:
00308549
Views:
51
> BTW, I found, that I really was wrong with my INLIST() expression in my btcc_edit class (it was the way I described you INLIST(zipcode,'12234,3131'), so I need to fix it. It's easy within existing class, but I'll probably switch.


Hi Nadya,
Is this a potential error (in concept of data) situation or zipcodes are 5 digit + 4 digit (zipcode4) (IOW are zipcodes entered as "12345,123") ?
inlist("123","12345,123") && .f.
and
inlist("123","12345","123") && .t.
are totally interpreted different.
Also seeing the title, as a side note you could directly use numerics (and other data types) in inlist(). Apologize if context is totally different. Since this was a rather long thread I could only read this one (kind of a jump in:).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform