Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
M.var=bof() or eof() or m.var WHAT???
Message
From
13/07/2001 06:01:30
 
 
To
12/07/2001 20:07:06
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00530035
Message ID:
00530123
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform