Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inlist returns incorrect value
Message
 
To
16/08/2001 15:06:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00544903
Message ID:
00544911
Views:
16
>Try this:
>a = '18'
>? inlist(a,'1')
>
>Prints .T.
>
>Is this a bug?
>
>Thanks
>Robert

No it is not a bug. Your SET EXACT setting is obviously OFF. SET EXACT ON and you will get .F.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform