[Gambas-user] Array for File class?

Jussi Lahtinen jussi.lahtinen at ...626...
Fri Feb 1 23:53:21 CET 2013


It should work. What is your Gambas version?

Jussi



On Fri, Feb 1, 2013 at 12:48 AM, steveNewbie <steve32942000 at ...43...>wrote:

> 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.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list