[Gambas-user] Using Open in Gambas 3

charlesg charles at ...1784...
Mon Sep 6 08:12:36 CEST 2010




craf wrote:
> 
> ------------------------------------------------------------
> In Gambas 3 can not be used and must be assigned to hfile:
> 
> Dim hFile As File  
> Dim line As String
>   
> hFile = Open "text" For Read
>   
> While Not Eof(hFile)
>     Line Input #hfile, line
>     Print linea
>   Wend
> 
> close #hFile
> 
> It is a new approach?
> 

I don't think it is new. I have always used your Gambas3 method with my
Gambas2 programs.

rgds
-- 
View this message in context: http://old.nabble.com/Using-Open-in-Gambas-3-tp29630809p29631416.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list