>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