realbasic-nug
[Top] [All Lists]

Re: Store colors in an array [Another 'Blame it on my blood sugar level'

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Store colors in an array [Another 'Blame it on my blood sugar level' moment]
From: Tony Spencer <janesmith at mac dot com>
Date: Tue, 28 Feb 2006 22:05:11 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <31F233E8-AF2B-4E05-ACF6-4513DCFEAB81 at panamind dot com> <a06200700c02a534fd55d at [10 dot 71 dot 2 dot 34]> <43EDD89F-10CF-4955-A3EF-8CAED38B068A at panamind dot com> <B2BF86D6-9EBF-4069-827F-778AB27DFC8C at mac dot com> <39FAAD0C-09F1-47C7-B1FA-942444C11D58 at panamind dot com>
Ah, it's usually something simple!

As Phil pointed out, it should have worked - my post was a little too hasty in not properly reading what you were doing...

I tend to use very different names to try and spot this, and of course Colors always used to be a bit "funny" anyway. Thought it might have had something to do with data types changing in arrays with Rb2000x. Ho hum.


On 28 Feb 2006, at 21:54, Gary Edge wrote:

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.

Tony Spencer
St Rémy de Provence (13) France

tonyspencer at fastmail dot net

Jef Raskin, the Mac's original project leader before Steve Jobs took the role, and the "father of the Mac": "In 1979, I specified a long list that covered most of the things we would do with it [the Mac] though I missed four major uses: gambling, pornography, sending spam and spreading viruses."



_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>