Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
M.var=bof() or eof() or m.var WHAT???
Message
De
16/07/2001 00:13:30
 
 
À
13/07/2001 06:01:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00530035
Message ID:
00530844
Vues:
17
ROFL! Love it.

>>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
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform