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:26:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Easy one But I forgot. If n = 0, or n = 1
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:
01575918
Views:
90
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)
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform