Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If statement with 23 conditions
Message
 
To
17/01/2006 11:58:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01087587
Message ID:
01087676
Views:
8
nChecksToMake = 23      &&& or some other value
lcReturn = .t.

FOR ix = 1 TO nChecksToMake
	lcIx = alltrim(str(ix))
	
	IF condition&lcIx = result&lcIx
		lcReturn = .f.
		EXIT FOR
	ENDIF
ENDFOR
Previous
Reply
Map
View

Click here to load this message in the networking platform