Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Easy one But I forgot. If n = 0, or n = 1
Message
From
08/06/2013 16:33:20
 
 
To
08/06/2013 16:26:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01575918
Message ID:
01575919
Views:
79
>What is the function to replace a statement like
>
>if n = 1 or n = 2 or n = 3
>
>by something shorter. I thought it would be something like if n in(1,2,3)
if inlist(n, 1, 2, 3)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform