>>>>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.
>>
>>Actually VFP also accepts numeric values. Try @4,4 SAY 'ASDASA' COLOR Rgb(255,64,64) or @4,4 SAY 'ASDASA' COLOR 4210943
>
>Thanks. Help didn't say, but I could not find Help for @SAY anyway.
You're welcome. But, on the other hand, I would never use this syntax. I discovered this by accident many years ago, I wonder why I still remember it.... :-)