On Feb 28, 2006, at 12:16 PM, Gary Edge wrote:

Sorry for not clarifying. The array is returned from the function which creates it to a method that defines the local variable colors().

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

Where getColorArray is:

dim c(-1) as color

c.append &c75A2DD
etc...

return c

Well, that is a big relief... for a minute there I thought that you meant that all Color arrays would have this behavior.

_______________________________________________
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