Re: [fpc-pascal] using popen() and assign/reset

2009-11-19 Thread Marco van de Voort
In our previous episode, Marc Santhoff said: > > I'm trying to get unix.popen() running. The RTL.pdf says the file opened > with popen (stdin for reading here) has to be reset or rewritten. The > example does not do anything like that. Apparantly that is false; uses unix; var f: text; s: an

[fpc-pascal] using popen() and assign/reset

2009-11-19 Thread Marc Santhoff
Hello, I'm trying to get unix.popen() running. The RTL.pdf says the file opened with popen (stdin for reading here) has to be reset or rewritten. The example does not do anything like that. The other part is the question whether the file has to be assign()'ed befor or not. var f: text; s: a