Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INLIST() returning 'wrong' result
Message
From
07/04/2008 19:19:00
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
INLIST() returning 'wrong' result
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01308878
Message ID:
01308878
Views:
68
lDoesSuffixExist evaluates to .F. for this. It must be something simple, but I can't see it. I was expecting .T. as the result.
tcName = "Thurston Howell III"
lDoesSuffixExist = INLIST(UPPER(tcName),"PHD","II","III","IV","V","JR","SR","ESQ","CPA","CEA","DD","MD","JD")
Next
Reply
Map
View

Click here to load this message in the networking platform