[Gambas-user] Using Open in Gambas 3

Fabien Bodard gambas.fr at ...626...
Mon Sep 6 10:40:12 CEST 2010


this is new since gb2

2010/9/6 charlesg <charles at ...1784...>:
>
>
>
> 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.
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> 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