Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Generating 256 color choices
Message
From
08/04/2002 13:25:07
 
 
To
08/04/2002 13:21:42
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00605952
Message ID:
00642273
Views:
22
>Decrease 3 loops to 1. ie :
>
>>>  For blue = 0 to 2^2-1
>>>    For green = 0 to 2^3-1
>>>      For red = 0 to 2^3-1
>
>becomes :
>
>  For ix = 255 to 0 step -1
>      store ix to lnRed, lnGreen, lnBlue
>
Cetin

Yes, that's what David suggested. It works well.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform