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

2009-08-17 Thread Graeme Geldenhuys
Marc Santhoff wrote: No, it shows a warning message, no error. The point is, the compiler finishes making a runnable program. I personally don't want that to happen because it will make avoidable OK, I now see what you mean. Luckily I pay close attention to any Warnings that the compiler give

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

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 - fpc-pascal@list

[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] 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 w

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 wi

[fpc-pascal] Website connectivity

2009-08-17 Thread Michael Van Canneyt
Hello, In the past, some people reported problems connecting to the main FPC website or the main SVN repository. Typical symptoms were empty HTML pages, but pinging to the server working fine. The reason for this - which has been given often - was the atypical window size of the router in front

Re: [fpc-pascal] Using Lazarus as a Simple IDE

2009-08-17 Thread Felipe Monteiro de Carvalho
In the IDE go to the menu Project -> Compiler Options In the linking tab uncheck win32 gui application That will bring the "dos" window when the program runs. You can use WriteLn and ReadLn to interact with it in your software -- Felipe Monteiro de Carvalho

[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

[fpc-pascal] [Fwd: [Lazarus] IOI: Lazarus and Free Pascal]

2009-08-17 Thread Florian Klaempfl
--- Begin Message --- Hi, International Olympiad in Informatics allows only c++ and free pascal. Provided editors : ... lazarus ... http://www.ioi2009.org/index.jsp;jsessionid=F84941DF0A0EE4138BC2E44BA6DBE5EB?ln=2&id=361 regards, Den Jean -- ___ L

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 iLen>0 then System.Move(Item[0],Result[1],iLen); end; Thanks, this will be a

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 ve