Re: [fpc-pascal] fpExecv

2005-09-07 Thread Alain Michaud
Ho, my mistake! I did not see it. It is unfortunate that the index tools does not scan in all the RTL units at once, but just unit by unit. Thank you again Alain On Wed, 2005-09-07 at 19:45 +0200, Marco van de Voort wrote: > > this is exactly what I was looking for. Thank you very

Re: [fpc-pascal] fpExecv

2005-09-07 Thread Marco van de Voort
> this is exactly what I was looking for. Thank you very much. > > I have one concern however: This procedure is part of the "oldlinux" > unit. Has it been relocated? Should I still use it? No, but you can use the one in unit unix. ___ fpc-pascal ma

Re: [fpc-pascal] fpGetRUsage

2005-09-07 Thread Jonas Maebe
On 31 Aug 2005, at 15:52, Paul Davidson wrote: Trying to get fpGetRusage to work WITH DARWIN. Using: function fpGetRUsage( who : cint; data : pRUsage ) : cint; cdecl; external 'c' name 'getrusage'; But this gives silly results. Any hints? How did you declare prusage/trusage? Jonas

Re: [fpc-pascal] fpExecv

2005-09-07 Thread Alain Michaud
Hi, this is exactly what I was looking for. Thank you very much. I have one concern however: This procedure is part of the "oldlinux" unit. Has it been relocated? Should I still use it? Thanks Alain On Wed, 2005-09-07 at 00:15 -0700, L505 wrote: > > Question: what should I do to redirect

Re: [fpc-pascal] Reading past end of file, no error

2005-09-07 Thread Jonas Maebe
On 07 Sep 2005, at 17:13, Tom Verhoeff wrote: At some point in the 1.9 branch, this changed (and now it bites me). Now it silently assigns 0 to i on the second read. Even with -Ci as option or {$I+}. This was a bug in 2.0 which has been fixed for 2.0.1 already. Jonas __

[fpc-pascal] Reading past end of file, no error

2005-09-07 Thread Tom Verhoeff
I am pretty sure that FPC 1.0.10 would give a runtime error when attempting to read past the end of file. E.g. program ReadPastEOF; var i: Integer; begin readln(i); writeln(i); readln(i); writeln(i); end. when offered a file with just one line containing one integer, would give a run