On Apr 1, 2006, at 8:10 PM, Kirt Cathey wrote:

Also, why the -1 for count number declaration? To save on memory allocation?



That is just a syntax that initializes an array to null. The first append will be element 0. The statements below are exactly equivalent in that regard:

dim myArray() as string
dim myArray(-1) as string

The first is probably more intuitive, but actually the second syntax became available in Rb first.


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