Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread L505
> > What does 'advertise' mean in this context ? > > 3. You must have a visible line in your programs aboutbox or >documentation that it is made using RemObjects Pascal Script and >where RemObjects Pascal Script can be found. > > i. e. You must put a link to RO homepage in your about box or

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Michael Van Canneyt
On Thu, 9 Feb 2006, Elio Cuevas Gómez wrote: > El Jue 09 Feb 2006 14:13, Michael Van Canneyt escribió: > > What does 'advertise' mean in this context ? > > 3. You must have a visible line in your programs aboutbox or >documentation that it is made using RemObjects Pascal Script and >wher

[fpc-pascal] Re: Scripting in FPC

2006-02-09 Thread Jeff Pohlmeyer
> > How about LUA ? > Yes! It seems like i was looking for, thank you very much :-) Glad to help! There is also an IDE for LUA, written in Delphi: http://luaedit.luaforge.net/ It is probably overkill for what you need, but it might be useful to get some ideas on pascal+lua integration. - Je

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Elio Cuevas Gómez
El Jue 09 Feb 2006 14:13, Michael Van Canneyt escribió: > What does 'advertise' mean in this context ? 3. You must have a visible line in your programs aboutbox or documentation that it is made using RemObjects Pascal Script and where RemObjects Pascal Script can be found. i. e. You must pu

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Michael Van Canneyt
On Thu, 9 Feb 2006, Elio Cuevas Gómez wrote: > El Jue 09 Feb 2006 02:10, Michael Van Canneyt escribió: > > On Wed, 8 Feb 2006, Elio Cuevas Gómez wrote: > > > 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

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Elio Cuevas Gómez
El Jue 09 Feb 2006 02:10, Michael Van Canneyt escribió: > On Wed, 8 Feb 2006, Elio Cuevas Gómez wrote: > > 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 Lice

[fpc-pascal] using Crt Functions inside a thread.

2006-02-09 Thread josepascual
Hi, I have a little program working with Crt units without problem. I have change the print way form, I have pushing Crt Commands inen Fifo (GotoXY, ClrScr, ClrEol, Write,...) and I have created a Thread class to pop this commands to execute it. Problem seems to be cursor position in tty which is

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Elio Cuevas Gómez
El Jue 09 Feb 2006 04:00, Kornel Kisielewicz escribió: > As I understand you're asking about scripting languages in general, not > only Pascal-syntax languages -- in that case I recommend Lua -- it's > realy fast (one of the fastest scripting languages in it's class), it's > easy to set up and real

Re: [fpc-pascal] Re: Scripting in FPC

2006-02-09 Thread Elio Cuevas Gómez
El Mié 08 Feb 2006 22:18, Jeff Pohlmeyer escribió: > > 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 > Yes! It seems like i was looking for, thank you very

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

2006-02-09 Thread Isaac Gouy
--- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > 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#contrib

Re: [fpc-pascal] TProcess execution

2006-02-09 Thread Michael Van Canneyt
On Thu, 9 Feb 2006, Micha Nelissen wrote: On Thu, 9 Feb 2006 08:42:21 +0100 Jonas Maebe <[EMAIL PROTECTED]> wrote: The reason is that because of the fork/vfork construct these OS'es use, there is no way to report an error to the parent process except by exit codes. This is not true btw: yo

Re: [fpc-pascal] TProcess execution

2006-02-09 Thread Micha Nelissen
On Thu, 9 Feb 2006 08:42:21 +0100 Jonas Maebe <[EMAIL PROTECTED]> wrote: > The reason is that because of the fork/vfork construct these OS'es > use, there is no way to report an error to the parent process except > by exit codes. This is not true btw: you can use shared memory. Set up a varia

Re: [fpc-pascal] Wiki "why to use pascal"

2006-02-09 Thread Florian Klaempfl
Micha Nelissen wrote: > Hi all, > > http://www.freepascal.org/wiki/index.php/Why_to_use_Pascal > > "Most of the developing time spent in Pascal is on the program itself. > Unlike C and C++ like language, the developer does not need to focus on > managing the memory of variables, the structure of

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread memsom
Nemesis relies heavily on the JVCL and the Scripting engine that is contained within it. Unfortunately, this engine uses Interfaces heavily, and FPC had issues with Interfaces last time the dev looked at a port. FPC2.0x or maybe CVS build might be okay. Dunno though, one of the developers of FPC

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Kornel Kisielewicz
Elio Cuevas Gómez napisał(a): 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. As I understand

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Marco van de Voort
> 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. There is remobjects' passcript too. It has com

[fpc-pascal] Wiki "why to use pascal"

2006-02-09 Thread Micha Nelissen
Hi all, http://www.freepascal.org/wiki/index.php/Why_to_use_Pascal "Most of the developing time spent in Pascal is on the program itself. Unlike C and C++ like language, the developer does not need to focus on managing the memory of variables, the structure of very simple things like passing

Re: [fpc-pascal] Scripting in FPC

2006-02-09 Thread Michael Van Canneyt
On Wed, 8 Feb 2006, Elio Cuevas Gómez wrote: > 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 :-(.

Re: [fpc-pascal] TProcess execution

2006-02-09 Thread Michael Van Canneyt
On Thu, 9 Feb 2006, Micha Nelissen wrote: > 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