Hi everybody!!!

Is it possible to get a READ-Event on #File.in?

Background is: The external process, which is spawning my program, is a little 
bit flaky regarding its timings. It pushes it's data randomly via STDOUT into 
my prog. 
When I use the "WHILE NOT Eof(File.In)"-Example taken from the online help, I 
always get disconnected from the external process, after the WEND...but I 
have to send some data back, too! ;-)
To bring some light into the dark: At first, i have to read the whole message 
block (terminated by an empty line), after that, I'm able to send my onw data 
back to the process.

If I didn't misunderstand the concepts of READ-Event, it sit's on the stream 
and every time data arrives, it reads the incoming data automagically :-) 

TIA
Stevie


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to