Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@...SAY COLOR - Function Reference
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01248126
Message ID:
01248135
Views:
23
>>Getting an error on this line. It thinks that GetRemarkColor() is an array and has an invalid subscript. It is a function and works well in other places. The return value of the function is a character RGB color set. What is the proper syntax for this in the COLOR clause? Thanks!
>>
>>
>>@ iColorCode+2,7 SAY 'Sample Color Scheme ' COLOR ( GetRemarkColor(iColorCode) )
>>
>
>Check http://msdn2.microsoft.com/en-us/library/yh90s8sw(VS.80).aspx
>
>It should be color pairs not a single color.


My 2.6 book states that the color pair can also be expressed as RGB(R1,G1,B1,R2,G2,B2) or in place of "R/W" you could use RGB(255,0,0,255,255,255)
Previous
Reply
Map
View

Click here to load this message in the networking platform