>>>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.
>
>No, the iColorCode is simply a numeric value that is used in a CASE to set the actual RGB character string.
What does the return of the function look like? Anyway, as Tore noted, RGB() would work as well. I was just trying to find some help on this command online and looks like this is an undocumented feature. At least not in the current MSDN online.
If it's not broken, fix it until it is.
My Blog