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 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user