[fpc-pascal] OnGuard WinCE

2008-12-15 Thread Dimitrios Chr. Ioannidis
Hi, i can't compile TPOnGuard for WinCE ... Does anyone succeded to use TPOnGuard in WinCE ? regards, -- Dimitrios Chr. Ioannidis No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.18/1850 - Release Date: 15/12/2008 5:04 ìì

Re: Re: [fpc-pascal] Hello World for Darwin ?

2008-12-15 Thread leledumbo
> I suspect cross compiling not functional. Then it's a surprise I can compile for Linux from my Win32 machine, just don't forget the i386-linux-ld. Don't expect you have cross compiling capability out of the box. Some tools and libraries might be needed depending on your needs. -- View this me

Re: [fpc-pascal] Schema Types

2008-12-15 Thread Kevan Hashemi
Dear FPC, fancy:=new(fancy_type); // or something similar, I usually use GetMem not New SetLength(fancy.first, 10, 20); SetLength(fancy.second, 10, 20); SetLength(fancy.third, 300); Nice. I see how it works. Thank you very much (Felipe and Florian) for your answers. I'll try porting some cod

Re: [fpc-pascal] Schema Types

2008-12-15 Thread Felipe Monteiro de Carvalho
fancy:=new(fancy_type); // or something similar, I usually use GetMem not New SetLength(fancy.first, 10, 20); SetLength(fancy.second, 10, 20); SetLength(fancy.third, 300); -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.fre

Re: [fpc-pascal] Schema Types

2008-12-15 Thread Kevan Hashemi
Dear Florian, var a : array of array of real; begin setlength(a,num_rows,num_columns); Interesting. What about schema types that are no simple arrays? Like this one: type fancy_type(a,b,c:integer)=record first:array [0..a,0..b] of integer; second:array [0..a,0..b] of real; third

Re: [fpc-pascal] Schema Types

2008-12-15 Thread Florian Klaempfl
Kevan Hashemi schrieb: > Dear FPC, > > I'm considering movingn from GPC to FPC. One thing I like very much > about GPC is its schema types. I can declare a matrix like this: > > matrix_type(num_rows,num_columns:integer)= > array [1..num_rows,1..num_columns] of real; > > and then create a new m

[fpc-pascal] Schema Types

2008-12-15 Thread Kevan Hashemi
Dear FPC, I'm considering movingn from GPC to FPC. One thing I like very much about GPC is its schema types. I can declare a matrix like this: matrix_type(num_rows,num_columns:integer)= array [1..num_rows,1..num_columns] of real; and then create a new matrix with: var M:^matrix_ptr; nu

Re: [fpc-pascal] number of cpu cores

2008-12-15 Thread Inoussa OUEDRAOGO
2008/12/14 Marc Weustink : > Mattias Gaertner wrote: >> >> At the moment I have the attached function. >> It returns only 4 on a 2 x quad core Mac. >> Maybe someone can test under windows? Return 2 on Intel Core Duo -- Inoussa O. ___ fpc-pascal maillis

Re: [fpc-pascal] Re: Hello World for Darwin ?

2008-12-15 Thread Brad Campbell
Skybuck Flying wrote: I suspect cross compiling not functional. Not unless you installed the cross compiler, no. I did find a free pascal compiler for Mac OS X so I ll give that one a try ;) The native compilers work fine on both Intel and PPC Macs. I believe building *nix cross compilers

Re: [fpc-pascal] Re: Hello World for Darwin ?

2008-12-15 Thread Tomas Hajny
On Sun, December 14, 2008 23:32, Skybuck Flying wrote: > That didn't go well. > > Couldn't install package, the installer said. > > RTF can't be opened. > > So much for that. See information about cross-compilation in FPC Wiki (http://wiki.freepascal.org/Cross_compiling) including the referenced d

[fpc-pascal] Re: Hello World for Darwin ?

2008-12-15 Thread Skybuck Flying
That didn't go well. Couldn't install package, the installer said. RTF can't be opened. So much for that. Bye, Skybuck. - Original Message - From: "Skybuck Flying" To: "FPC-Pascal users discussions" Sent: Sunday, December 14, 2008 11:25 PM Subject: Re: Hello World for Darwin ?

[fpc-pascal] Re: Hello World for Darwin ?

2008-12-15 Thread Skybuck Flying
I suspect cross compiling not functional. I did find a free pascal compiler for Mac OS X so I ll give that one a try ;) This does require compiling inside a virtual machine which is less ideal/slow ? ;) And could expose source code but ok... net's disabled for now I hope ;) Bye, Skybuck.

[fpc-pascal] Hello World for Darwin ?

2008-12-15 Thread Skybuck Flying
Hello, 1. I start fp 2. I open file: program HelloWorldv2; {$mode delphi} begin writeln('Hello Free Pascal World !'); readln; end. 3. I tried to compile/build to "Darwin i386". 4. Error/compile screen says: Main file: Y:\..\helloworld\helloworldv2.pas Failed to compile...