Ken, I still don't get it. You are not saying the we can just use kCGColorSpaceGenericGray without the under score in FB are you? Then it would be just a variable. What needs to be done to turn it into a CFStringRef constant? -Joe On Dec 11, 2007, at 8:16 AM, Ken Shmidheiser wrote: > Joe lamented: > >> These constants are defined in CGColorSpace.h but when I look in >> that file I don't see any numbers asigned to them. They are >> supposed to be CFStringRef constants but I don't really know what >> that means. I think I am getting lost in all the new information. > > > Joe, > > Yep, it is confusing. With Toolbox constants defined as > CFStringRefs, you don't need the leading underscore convention used > for "normal" constants in FB. The Toolbox function expects to see a > CFStringRef and properly interprets its opaque value. This is never > a factor in C as underscores are not used to distinguish Toolbox > constants. I wish things were the same it FB-- it would make code > translation a lot easier. > > Thus > > _kCGColorSpaceGenericGray > > can be used sans underscore as > > kCGColorSpaceGenericGray > > > Ken > > -- > To unsubscribe, send ANY message to: futurebasic-unsubscribe@... >