Problems using STDIN
BlitzMax Forums/BlitzMax Programming/Problems using STDIN
| ||
I have compiled the code below into STDINTEST.EXE, and when I try to Pipe anything through it, it just siezes up. Any idea where I am going wrong? Test it from a command line like this: C:\Blitz\stdin> Echo Hello | stdintest.exe ***** WARNING: This code will hang. Run it in a command window, and you may beed to terminate the process manually ***** Framework BRL.StandardIO Print "POS=" + StandardIOStream.Pos() Print "IO=" + StandardIOStream.Size() Print "EOF=" + Eof(StandardIOStream) While Not Eof(StandardIOStream) Print "=='" + ReadStdin() + "'==" Wend Print "STDIN done" |