[Gambas-user] File.Load vs OPEN

Charlie karl.reinl at ...9...
Tue Jan 21 22:22:33 CET 2003


Benoît Minisini schrieb:

>Le Mardi 21 Janvier 2003 21:40, Charlie a écrit :
>  
>
>>jochen.georges at ...22... schrieb:
>>    
>>
>>>hello gambasians,
>>>
>>>for me it seems to be more comfortable to use
>>>File.Load()
>>>then using
>>>OPEN file FOR READ AS #myFile.
>>>      
>>>
>>I am not shure (but nearly), because I don't remember why and since when.
>>But I use the File.load to show the contens of the file.
>>And the Open to read line by line (for doing something with the line
>>contens).
>>Yes that is it.
>>How do you want analyse the line contens of a line in a File.load return?
>>
>>amicalement
>>Charlie
>>
>>    
>>
>>>Is OPEN just a inheritance of older times or when do i use it?
>>>
>>>thanks for any hint
>>>
>>>beste gruesse
>>>jochen
>>>      
>>>
>
>Let's suppose the size of your file is 1GB. Are you going to use File.Load and 
>loads it entirely in memory, or are you going to use the OPEN instruction ?
>  
>
But showing a 1 GB File ? my name is not Word (oh sorry , but mast be a 
thing like this)

>If you say horrors like that, I will destroy the File.Load instruction ! :-)
>
>But yes, for little files, it is just a matter of taste...
>
>  
>







More information about the User mailing list