Re: [fpc-pascal] Aservia Web Server

2008-04-18 Thread Ron Weidner
Let me know when a source forge project is available. I would like to help. -- Ronald Weidner http://www.techport80.com PHP Software developer for hire. Aservia Project Started. A new simple stable web server for FPC and possibly delphi. http://powtils.googlecode.com/svn/dev/tools/aservia/

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-18 Thread Andreas Berger
for a := 0 to x do for b := 0 to y do for c := 0 to z do if (...) then begin // Do something and then exit all loops exit; // Or maybe: goto OutSideOfLoops; end; In Pascal I can't change the 'a' and 'b' values to force the end of the loop. So what other

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-18 Thread mm
Vinzent Hoefler a écrit : On Thursday 17 April 2008 17:53, mm wrote: Rodrigo Palhano a écrit : On Tue, 15 Apr 2008 19:39:37 -0300, Zaher Dirkey [EMAIL PROTECTED] wrote: I use GO TO when teaching pascal, but after all i ask them to not use it, it just a bridge to learning the logic of

Re: [fpc-pascal] The reason why linus torvalds hate-pascal

2008-04-18 Thread Ricardo Aguiar
Hi! GCC and almost all the other C implementations have the goto statement. It is just ugly and dangerous use it many times in a program. But IMHO any compiled language should have goto because many times we need to do unstructured code to run fast (in complex search code for example). So

[fpc-pascal] Trim db-fieldnames, or not?

2008-04-18 Thread Joost van der Sluis
Hi all, In several places you can specify a list of fieldnames, seperated by semicolons. For example: 'field1;field2'. Question is: should this be allowed: 'field1; field2'? Or should a Field not found: ' field2' exception occur? (Note the space) Ie: should I add a trim(fieldname) to the code,