Added Eof to TCStandardIO in brl.standardio
authorblitz-research <blitzmunter@gamil.com>
Tue, 28 Jan 2014 22:47:07 +0000 (11:47 +1300)
committerblitz-research <blitzmunter@gamil.com>
Tue, 28 Jan 2014 22:47:07 +0000 (11:47 +1300)
mod/brl.mod/standardio.mod/standardio.bmx

index 3070634a1057d3b7df2d432a02b3c41781959f2e..67f8e2bde57435b9aedb064aa074e14431eed432 100644 (file)
@@ -20,6 +20,10 @@ Import BRL.TextStream
 
 Type TCStandardIO Extends TStream
 
+       Method Eof:Int()
+               Return feof_( stdin_ )
+       End Method
+       
        Method Flush()
                fflush_ stdout_
        End Method