Hello Hal,

On Saturday 18 June 2011, 23:35, Hal Vaughan wrote:
> Is there any way, in OOo BASIC, to create something like a vector or linked
> list or anything that gives me something like an array that I can keep
> adding elements to?  (Everything I found with an array indicated it has to
> be declared with a set number of members.)

search in the OOo help "ReDim"

Sub Test_Array
        Dim arr(0) as Integer
        arr(0) = 0
        
        Dim i%
        For i = 1 To 10
                ReDim Preserve arr(i) 
                arr(i) = i
        Next
End Sub


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to