That's what I did to solve the problem.
Thanks though,
Scott
On Sep 16, 2006, at 10:39 AM, Phil M wrote:
On Sep 16, 2006, at 6:15 AM, Scott Goelzer wrote:
I filed a report on this: uzvofidu
Create a new project.
Create a new method in window1.
'add these two lines:
dim maxarrayindex As integer = 100
dim theArray(maxarrayindex) As string
RUN and a failed assertion error is thrown.
It appears that dim = does not work well on the first line. At
least under OS X 10.4.7, 2006r3
I hope to save someone else the hours I spent trying to uncorrupt
my project.
Obviously the IDE is behaving badly here, but it is not quite the
bug that you expect.
The compiler should have caught this code AS AN ERROR during
compile time since only constant/literal values are permitted
within an array declaration. Instead you need to change it to this:
Dim maxarrayindex As integer = 100
Dim theArray(-1) As string
Redim theArray(maxarrayindex)
_______________________________________________
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>
_______________________________________________
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>