Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
If statement with 23 conditions
Message
 
À
17/01/2006 11:58:51
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01087587
Message ID:
01087676
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform