I'm trying to store colors in an array:

dim colors(-1) as color

colors.append &c75A2DD
etc...

Then in another method write:

for i = 0 to ubound(colors)
    g.forecolor = colors(i)  // crashes here
    g.drawline ....
next

Can colors be stored in a array that way?

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