Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh method
Message
 
 
To
06/03/2001 00:52:12
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00482006
Message ID:
00482342
Views:
11
Hi Steve,

Thanks a lot, but this is not MY code. I'm also a great believer in one-lines, and in my optimized copy of our classes I used only this technique everythere.

Anyway, thanks for the support (see the whole thread).

>Slightly off topic ...
>
>your code
>
>IF THISFORM.ADD_MODE OR THISFORM.EDIT_MODE
> this.enabled=.t.
>ELSE
> this.enabled=.f.
>ENDIF
>
>can equally be expressed as
>
>this.enabled=(THISFORM.ADD_MODE OR THISFORM.EDIT_MODE)
>
>
>saves a little typing !
>
>Steve
>(a great beiever in one liners)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform