[Gambas-user] Watching File and Pipe

Benoît Minisini gambas at ...1...
Mon Jan 7 12:27:06 CET 2013


Le 06/01/2013 11:32, Tobias Boege a écrit :
>>> that the File_Read() event is called without end
>>
>> Logical, as a normal file is always ready to be read.
>>
>
> The doc says: "If at least one byte can be read". This statement is IMHO
> ambiguous. I expected the Read() event to be raised when Lof(hFile) > 0.
> Do you think this sentence needs clarification?

Logically the Read event should not be raised if the file pointer is at 
the end of file, but this is managed by the kernel, so I can't be sure!

-- 
Benoît Minisini




More information about the User mailing list