Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
& operator
Message
From
17/10/2006 10:36:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01162565
Message ID:
01162571
Views:
18
>I haven't used any complex in string operators till now and having some trouble. Does this look ok?
>
>m_ass = "assets_code $('DEPLOYED', 'DIRECT_PROC', 'DUE_OUT','ON_HAND', 'ON_LOAN','REPAIR')"
>
>and to test if it is T or F
>
>?&m_ass
>and I get Function name is missing).

as far as I know, $ requires the right side to be one string, not a list.


Have you looked at inlist()
m_ass = inlist(assets_code, 'DEPLOYED', 'DIRECT_PROC', 'DUE_OUT','ON_HAND', 'ON_LOAN','REPAIR')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform