Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Wish, ICASE()..
Message
From
24/10/1999 14:11:12
 
 
To
24/10/1999 08:50:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00280338
Message ID:
00280612
Views:
10
Hi Sylvain,

>IMHO, it would make the code too hard to read in many cases.

Hmm, Whats more readale:
DynamicBackColor = 'icase(Field <= 1, rgb(0,255,0) , Field <= 10, rgb(255,0,0) , Field <= 15, rgb(0,0,255))'

or

DynamicBackColor = 'iif(Field <= 1, rgb(0,255,0) , iif(Field <= 10, rgb(255,0,0) , iif(Field <= 15, rgb(0,0,255), rgb(0,0,0))))'
I would say the top, why would the bottom be more readable?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform