[Gambas-user] Array for File class?

steveNewbie steve32942000 at ...43...
Thu Jan 31 23:48:29 CET 2013


I tried the method below without success.  I am still getting "Class 'File'
is not creatable" error.  I might have to resort to creating 50 separate
File objects to get through this for now and clean up later.

Dim aFiles As New File[]
Dim hFile As File
Dim J As Integer

For J = 0 To 50
        hFile = Open sPath For Read 
        aFiles.Add(hFile)                    (For some reason, Add is not a
method under this class!)
Next 


Many thanks,
Steve



--
View this message in context: http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40885.html
Sent from the gambas-user mailing list archive at Nabble.com.




More information about the User mailing list