At 3:54 PM -0500 2/28/06, Gary Edge wrote:

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.

Best,
- Joe

--

Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
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