realbasic-nug
[Top] [All Lists]

Re: Store colors in an array

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Store colors in an array
From: Tony Spencer <janesmith at mac dot com>
Date: Tue, 28 Feb 2006 21:23:30 +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>
Well, you have no brackets on line 2...

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

For example:

dim colors(-1) as color
colors = getColorArray()
for i = 0 to ubound(colors)
g.forecolor = colors(i) // crashes here with debugger quitting back to the IDE
        g.drawline ...
next

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>