Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
M.var=bof() or eof() or m.var WHAT???
Message
De
13/07/2001 06:01:30
 
 
À
12/07/2001 20:07:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00530035
Message ID:
00530123
Vues:
15
>It can be rewritten as
>
>
>IF BOF() OR EOF() OR THIS.TOPFILE
>   THIS.TOPFILE = .T.
>ELSE
>   THIS.TOPFILE = .F.
>ENDIF
>
That's too confusing - this is much clearer
IF BOF()
   THIS.TOPFILE = .T.
ELSE
   IF EOF()
       THIS.TOPFILE = .T.
   ELSE
       IF THIS.TOPFILE
           THIS.TOPFILE = .T.
       ELSE
           THIS.TOPFILE = .F.
       ENDIF
    ENDIF
ENDIF
Len Speed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform