Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Limit number of ANDs in a logical expression
Message
De
09/02/2006 12:03:21
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Limit number of ANDs in a logical expression
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Divers
Thread ID:
01095106
Message ID:
01095106
Vues:
63
Is there a limit on the number of AND conditions in a logical expr. I use the code below. It was operating fine till I I had to add another 6 conditions. Now the compiler highlights whole lot and just says "syntax error". I enclose the code just in case any of you dead-eye Dicks can see a typo or whatever (it all colour codes OK in the editor)

While I'm at it, anyone know whether if any of the conds. fails it will not bother assessing the rest, as I suspect?

'ppreciate it.

Terry
With Thisform
  llOpenedEnough	= .lmGetMIFacMast( lcMapDataPath) and ;
  		  .lmGetMIZG( lcMapDataPath) and ;
  		  .lmGetMIRZStops( lcMapDataPath) and ;
  		  .lmGetMIStops( lcMapDataPath) and ; 
  		  .lmGetMIRoutes( lcMapDataPath) and ;
  		  .lmGetMIJourneys( lcMapDataPath) and ;
  		  .lmGetMIOperators( lcMapDataPath) and ;
  		  .lmGetMITendTypes lcMapDataPath) and ;
  		  .lmGetMIServCats( lcMapDataPath) and ;
  		  .lmGetMIOpQuals( lcMapDataPath) and ;
  		  .lmGetMIVehTypes( lcMapDataPath) and ;
  		  .lmGetMIBooking( lcMapDataPath) and ;
  		  .lmGetMITimeBand( lcMapDataPath) and ; 
  		  .lmGetMIOnDS( lcMapDataPath) and ;
  		  .lmGetMIFacTypes( lcMapDataPath) and ;
  		  .lmGetMIRESUS( lcMapDataPath) and ;
  	           .lmGetMIAPs( lcMapDataPath) and ;
  		  .lmGetMIAAs( lcMapDataPath) and ;
  		  .lmGetMISysOpts( lcMapDataPath)
EndWith 
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform