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.
Thanks for the help
Gary
On Feb 28, 2006, at 3:23 PM, Tony Spencer wrote:
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
_______________________________________________
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>