[fpc-pascal] Error when compiled !!!

2006-02-02 Thread Ryo T
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 ===error captured=

[fpc-pascal] DOS find

2006-02-02 Thread DONALD PEDDER
I'm having issues with the following 2 lines of code... Exec(GetEnv('COMSPEC'),'/c find "'+paramstr(1)+'" qbslist.txt'); writeln('return code ',lo(DosExitCode)); Even when nothing is found I still get return code 0! :-\ I need to know how many strings were found (or at a minimum if none w

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread Terry Kemp
> > The unit you want is utest.pp and the method is CreateRunPie() and > DoDrawPie(). > It uses a TFPMemoryImage/TFPImageCanvas to draw on, so all > methods you are used to in Lazarus should be there. > > Michael. Perfect. That has saved me days / weeks of head banging frustration ;) Thanks a

Re: [fpc-pascal] Delphi mode

2006-02-02 Thread Vincent Snijders
Carsten Bager wrote: Why do I have to use the {$MODE Delphi} directive to compile this, It compiles in TP 6 - Type tFun=function:boolean; Procedure g(f:tFun); Begin if f then exit; End; -- Because f is a function variable and not the result. In Delphi it can

Re: [fpc-pascal] Delphi mode

2006-02-02 Thread Jonas Maebe
On 2 feb 2006, at 16:10, Carsten Bager wrote: Why do I have to use the {$MODE Delphi} directive to compile this, It compiles in TP 6 You can also use {$mode tp} (and you should if you are compiling TP code). - Type tFun=function:boolean; Procedure g(f:tFun); Begin if f th

[fpc-pascal] Delphi mode

2006-02-02 Thread Carsten Bager
Why do I have to use the {$MODE Delphi} directive to compile this, It compiles in TP 6 - Type tFun=function:boolean; Procedure g(f:tFun); Begin if f then exit; End; -- I ask because when I am in Delphi mode this can not compile Var tekster:Tekster_typ; external

Re: [fpc-pascal] FPC game development (was: Pascal on Linux community)

2006-02-02 Thread Marco van de Voort
> On 2/2/06, Bisma Jayadi <[EMAIL PROTECTED]> wrote: > > I have a small domino card game. It was developed on Delphi (7) using my > > TDominoCard component > > (http://www.torry.net/quicksearchd.php?String=domino&Title=Yes). I plan to > > convert it to Lazarus. But, I don't know how to convert the

Re: [fpc-pascal] FPC game development (was: Pascal on Linux community)

2006-02-02 Thread Felipe Monteiro de Carvalho
On 2/2/06, Bisma Jayadi <[EMAIL PROTECTED]> wrote: > I have a small domino card game. It was developed on Delphi (7) using my > TDominoCard component > (http://www.torry.net/quicksearchd.php?String=domino&Title=Yes). I plan to > convert it to Lazarus. But, I don't know how to convert the TDominoCar

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread Michael Van Canneyt
On Thu, 2 Feb 2006, Terry Kemp wrote: On Thu, 2006-02-02 at 09:31 +0100, Michael Van Canneyt wrote: I can send you a project which does exactly this for the FPC testsuite. The code is 100% FPC, no external libraries. Michael. Please yes! Send to me off list. I posted it here: http:/

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread L505
> > I can send you a project which does exactly this for the FPC testsuite. > > The code is 100% FPC, no external libraries. > > > > Michael. > > Please yes! Send to me off list. > > Cheers > > Terry > I'd like to see too, post it somewhere public if possible. Hey, that's why we have websites -

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread Terry Kemp
On Thu, 2006-02-02 at 09:31 +0100, Michael Van Canneyt wrote: > > I can send you a project which does exactly this for the FPC testsuite. > The code is 100% FPC, no external libraries. > > Michael. Please yes! Send to me off list. Cheers Terry ___

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread Michael Van Canneyt
On Thu, 2 Feb 2006, Terry Kemp wrote: Hi, I have been playing with cgitest and got it working. Now I would like to create dynamic line graphs on a web page from mysql database (in FPC of course). Any clues on how to get started here? I can send you a project which does exactly this for the F