Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh method
Message
From
06/03/2001 00:52:12
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00482006
Message ID:
00482123
Views:
12
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform