In the application I am working on I have a need to write various outputs to
multiple files.  Gambas does not allow me to create an array of File class
to store multiple pointers to the Files once they are created.  Is there a
way to over come this?

I have some code below.

PUBLIC hFile AS File[100]     (DOES NOT COMPUTE)

PUBLIC SUB CreateOutFiles()
   DIM J As Integer

   FOR J = 1 to 50
      hFile[J] = OPEN (fileName ) FOR CREATE      (DOES NOT COMPUTE)
   NEXT
  "
END

I have a separate function that writes to these files later in the code do I
need a reference to the hFile[J].

Thanks,
Steve




--
View this message in context: 
http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to