>> I had already worked around the array problem but went back and put
>> the parenthesis' in to see if it made a difference. Then I noticed
>> that even though the array was being created in the function, It
>> wasn't being returned to the calling method. The 'return c' was
>> missing.
> 
> Yep, that'll do it.  If you have a function that returns an array (of
> any type, not just colors), and forget to actually return an array,
> then you have a null array reference -- which will indeed crash the
> app when you use it.

And ... If you want the compiler to enforce a return value on functions,
sign on to this request.

http://realsoftware.com/feedback/viewreport.php?reportid=fawnkmzi

--
Thomas C.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to