Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@...SAY COLOR - Function Reference
Message
 
To
14/08/2007 15:58:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01248126
Message ID:
01248149
Views:
40
>This is a little weird. @ 4,1 FILL TO 10, 8 COLOR RGB(255,0,0,255,255,225) works, but ?RGB(255,0,0,255,255,225) returns an error, too many arguments.....!

I think foxpro did not actually run the RGB function in the @ commands, but parsed it, that is why you get an error when calling the function, and also why RGB(nRed, nGreen, nBlue) also works, because it defaulted the missing part.
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform