Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To iif or not to iif = .t.
Message
De
01/06/2001 09:18:12
 
 
À
31/05/2001 14:42:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00513276
Message ID:
00513720
Vues:
18
Just out of interest, how would you code the following, especially with regard to an if without an else being a bug/bad design.
while .t.
  < some code >

  if < condition >
    exit
  endif

  < some other code >
enddo
the best I get is
< ensure condition true >
while < condition >
  < some code >

  if not < condition >
    < some other code >
  endif
enddo
Len Speed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform