Re: [fpc-pascal] how to simulate abstract properties

2009-08-17 Thread Graeme Geldenhuys
Marc Santhoff wrote: the compiler runs and throws no error. Fine, but this way every class Because you did not instantiate any instances of that class. Here is the output after compiling my sample program with FPC 2.2.5 === $ fpc test1.pas Free Pascal Compiler

Re: [fpc-pascal] Byte array manipulation

2009-08-17 Thread Wimpie Nortje
Andrew Brunner wrote: Hi there, I have a ByteArray unit that's pretty extensive. function toString(Var Item:TByteArray):string var iLen:Integer; begin iLen:=System.Length(Item); SetLength(Result,iLen); if iLen0 then System.Move(Item[0],Result[1],iLen); end; Thanks, this will be a

[fpc-pascal] Using Lazarus as a Simple IDE

2009-08-17 Thread Tom La Bone
I would like to use Lazarus as a simple IDE with input/output from/to a dos box (like the old FreePascal IDE). My code compiles and runs with Lazarus/FreePascal but a blank window pops up instead of the desired dos box. What do I have to do to get the desired behavior from Lazarus? I am running

Re: [fpc-pascal] Website connectivity

2009-08-17 Thread Jonas Maebe
On 17 Aug 2009, at 17:43, Michael Van Canneyt wrote: The reason for this - which has been given often - was the atypical window size of the router in front of the server: Some ISP's routers or network configuration could not cope with this atypical window size. To nitpick: it's not the

Re: [fpc-pascal] Website connectivity

2009-08-17 Thread Michael Van Canneyt
On Mon, 17 Aug 2009, Jonas Maebe wrote: On 17 Aug 2009, at 17:43, Michael Van Canneyt wrote: The reason for this - which has been given often - was the atypical window size of the router in front of the server: Some ISP's routers or network configuration could not cope with this atypical

[fpc-pascal] About Lazarus Program size

2009-08-17 Thread yu ping
Lazarus generated exe file size is so large,Can it make small size program file? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] About Lazarus Program size

2009-08-17 Thread Jürgen Hestermann
yu ping schrieb: Lazarus generated exe file size is so large,Can it make small size program file? Please look here: http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F ___ fpc-pascal maillist -

Re: [fpc-pascal] how to simulate abstract properties

2009-08-17 Thread Marc Santhoff
Am Montag, den 17.08.2009, 09:12 +0200 schrieb Graeme Geldenhuys: Marc Santhoff wrote: the compiler runs and throws no error. Fine, but this way every class Because you did not instantiate any instances of that class. Here is the output after compiling my sample program with FPC 2.2.5