Re: [fpc-pascal] TProcess execution

2006-02-08 Thread Michael Van Canneyt
On Thu, 9 Feb 2006, Micha Nelissen wrote: > Michael Van Canneyt wrote: > > > > On Wed, 8 Feb 2006, Micha Nelissen wrote: > > > > > How can I know whether a TProcess failed when trying to execute it ? > > > Running will be false, but I want to distinguish between the file not > > > there / no e

Re: [fpc-pascal] Computer Language Shootout - updated to Free Pascal2.0.2

2006-02-08 Thread Florian Klaempfl
Isaac Gouy wrote: > We welcome more elegant and/or faster programs. > > To contribute please attach a complete source code file to a tracker > item following the FAQ instructions: > > http://shootout.alioth.debian.org/faq.php#contributeprogram I think Ales Katona submitted already a lot of impro

Re: [fpc-pascal] TProcess execution

2006-02-08 Thread Micha Nelissen
Jonas Maebe wrote: On 9 feb 2006, at 07:48, Micha Nelissen wrote: That I should have noticed :-). In unix, the return result of the 'fpexecve' call is not checked, at least. If it returns, it does 'halt(127)', so should I check the ExitStatus being 127 ? The reason is that because of the fo

Re: [fpc-pascal] TProcess execution

2006-02-08 Thread Jonas Maebe
On 9 feb 2006, at 07:48, Micha Nelissen wrote: How can I know whether a TProcess failed when trying to execute it ? Running will be false, but I want to distinguish between the file not there / no execution permission / etc. and it started running but was done quickly. It should raise an

Re: [fpc-pascal] Computer Language Shootout - updated to Free Pascal 2.0.2

2006-02-08 Thread Micha Nelissen
Isaac Gouy wrote: Several older benchmarks have been deprecated and replaced. http://shootout.alioth.debian.org/gp4/pascal.php Hmm why is mandelbrot so slow for fpc ? Is it doing any output buffering ? Micha ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] TProcess execution

2006-02-08 Thread Micha Nelissen
Michael Van Canneyt wrote: On Wed, 8 Feb 2006, Micha Nelissen wrote: How can I know whether a TProcess failed when trying to execute it ? Running will be false, but I want to distinguish between the file not there / no execution permission / etc. and it started running but was done quickly.

[fpc-pascal] Re: Scripting in FPC

2006-02-08 Thread Jeff Pohlmeyer
> I want to embed an interpreter in my Free fpc game... How about LUA ? http://www.lua.org/about.html FreePascal bindings: http://assoc.wanadoo.fr/thallium-software/thlua.en.html - Jeff ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:

Re: [fpc-pascal] Scripting in FPC

2006-02-08 Thread Elio Cuevas Gómez
I found this one in the web: https://opensvn.csie.org/PascalScript/ Seems very good, but it will need some work, the Virtual Machine is embedabble, but looks like the compier is a separated program. El Mié 08 Feb 2006 20:04, L escribió: > > HI, > > > > FPC is compiled only > > > > Alain > > There

Re: [fpc-pascal] Scripting in FPC

2006-02-08 Thread Elio Cuevas Gómez
It looks very good, but i would preffer to avoid the use of Lazarus (Not that Laz is bad, i love it, but i want to keep the program small, with few dependencies). Also i think the Licence is GPL incompatible, which is very unfortunate :-(. El Mié 08 Feb 2006 20:49, Felipe Monteiro de Carvalho e

Re: [fpc-pascal] Scripting in FPC

2006-02-08 Thread Felipe Monteiro de Carvalho
I would probably try to use Pascal Script. It seams really good. I've never heard of nemesis so I can't really compare, it might be good also. You can find more information about Pascal Script here: http://wiki.lazarus.freepascal.org/index.php/Pascal_Script and here: http://www.remobjects.com/a

Re: [fpc-pascal] Scripting in FPC

2006-02-08 Thread L
> HI, > > FPC is compiled only > > Alain There are some scripting systems out there, RemObjects which I think Boguslaw was working on completing the latest version? There is another one that I think costs money, and maybe a few on TOrry.net which could be converted from Delphi to FPC. ___

Re: [fpc-pascal] Computer Language Shootout - updated to Free Pascal2.0.2

2006-02-08 Thread Isaac Gouy
We welcome more elegant and/or faster programs. To contribute please attach a complete source code file to a tracker item following the FAQ instructions: http://shootout.alioth.debian.org/faq.php#contributeprogram best wishes, Isaac --- L505 <[EMAIL PROTECTED]> wrote: > Some of the tests plac

Re: [fpc-pascal] Scripting in FPC

2006-02-08 Thread Alain Michaud
HI, FPC is compiled only Alain On Wed, 2006-02-08 at 19:39 -0600, Elio Cuevas Gómez wrote: > Hi. > > I want to embed an interpreter in my Free fpc game to provide an scripting > interface. What are the available solutions? I have heard about Nemesis > Pascal but i'm not sure if it works in FP

[fpc-pascal] Scripting in FPC

2006-02-08 Thread Elio Cuevas Gómez
Hi. I want to embed an interpreter in my Free fpc game to provide an scripting interface. What are the available solutions? I have heard about Nemesis Pascal but i'm not sure if it works in FPC as it's website talks only about Delphi and Kylix. ___ fp

Re: [fpc-pascal] Computer Language Shootout - updated to Free Pascal2.0.2

2006-02-08 Thread L505
Some of the tests place sysutils in the uses clause but in fact it is not needed in the uses clause for some programs to work. Removing it from the uses clause where not needed would improve the memory footprint of the program, since sysutils hauls in initialization for things like widestrings a

[fpc-pascal] Computer Language Shootout - updated to Free Pascal 2.0.2

2006-02-08 Thread Isaac Gouy
All the Free Pascal programs on Intel P4 have been re-measured with Free Pascal 2.0.2 Several older benchmarks have been deprecated and replaced. http://shootout.alioth.debian.org/gp4/pascal.php best wishes, Isaac __ Do You Yahoo!? Tired of spa

Re: [fpc-pascal] TProcess execution

2006-02-08 Thread Michael Van Canneyt
On Wed, 8 Feb 2006, Micha Nelissen wrote: > Hi, > > How can I know whether a TProcess failed when trying to execute it ? > Running will be false, but I want to distinguish between the file not > there / no execution permission / etc. and it started running but was done > quickly. It should rai

Re: [fpc-pascal] TProcess execution

2006-02-08 Thread Micha Nelissen
On Wed, 8 Feb 2006 20:30:50 +0100 Micha Nelissen <[EMAIL PROTECTED]> wrote: > How can I know whether a TProcess failed when trying to execute it ? > Running will be false, but I want to distinguish between the file not > there / no execution permission / etc. and it started running but was done >

[fpc-pascal] TProcess execution

2006-02-08 Thread Micha Nelissen
Hi, How can I know whether a TProcess failed when trying to execute it ? Running will be false, but I want to distinguish between the file not there / no execution permission / etc. and it started running but was done quickly. Micha ___ fpc-pascal maill

Re: [fpc-pascal] Error when compiled !!!

2006-02-08 Thread Jonas Maebe
On 8 feb 2006, at 14:46, Marco van de Voort wrote: I've compiled free pascal IDE included in the freepascal package but it always say that a file named "sysunixh.inc" not found. Where can I find the file ??? For that troubleshoot i have include the error (captured from linux console). thx b4

Re: [fpc-pascal] Error when compiled !!!

2006-02-08 Thread Marco van de Voort
> I've compiled free pascal IDE included in the > freepascal package but it always say that a file named > "sysunixh.inc" not found. Where can I find the file > ??? > For that troubleshoot i have include the error > (captured from linux console). > thx b4 Somehow it considers the RTL is out of dat