Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Jonas Maebe
On 02 Jan 2010, at 07:27, Anthony Walter wrote: I read the user changes document which seemed to consist of a list of subtle changes. My question is does 2.4.0 put forward any major changes and if so in what document are those changes described. There's the included whatsnew.txt document

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Paul Ishenin
Jonas Maebe wrote: and other language changes such as closures etc. Unavailable (I don't think anyone is even working on that). What is this? Any document to read about 'closures'? Best regards, Paul Ishenin. ___ fpc-pascal maillist -

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Jonas Maebe
On 02 Jan 2010, at 11:34, Paul Ishenin wrote: Jonas Maebe wrote: and other language changes such as closures etc. Unavailable (I don't think anyone is even working on that). What is this? Any document to read about 'closures'? http://edn.embarcadero.com/article/6 Note that

Re: [fpc-other] Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Jonas Maebe
On 02 Jan 2010, at 03:53, Doug Chamberlin wrote: For my new year's resolution I'm going to commit to FPC and Lazarus. So, I'm installing the latest in a fresh Ubuntu 9.10 VM and diving in. I'll be pushing all this software hard and will probably be coming here for help. Then this is indeed

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Jonas Maebe
On 02 Jan 2010, at 04:12, Doug Chamberlin wrote: Problem #2: I decided to make a contribution by adding a note to the installation docs about needing to install from a location without embedded spaces in the directory path. I went to the www.freepascal.org and could not find any suitable

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Paul Ishenin
Jonas Maebe wrote: http://edn.embarcadero.com/article/6 Note that even Delphi doesn't have them yet (it might also turn up in Delphi in the future). Looks as something related to: http://en.wikipedia.org/wiki/Anonymous_function#Delphi ? If so then this is already implemented in

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Juha Manninen
On lauantai, 2. tammikuuta 2010 04:53:16 Doug Chamberlin wrote: For my new year's resolution I'm going to commit to FPC and Lazarus. So, I'm installing the latest in a fresh Ubuntu 9.10 VM and diving in. I'll be pushing all this software hard and will probably be coming here for help.

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Jonas Maebe
On 02 Jan 2010, at 12:00, Juha Manninen wrote: I also looked at FPC page and wiki page and there are no instructions for installation! How is it possible? The readme.txt that's normally included with every FPC installation package does include installation instructions for most platforms.

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Michael Van Canneyt
On Sat, 2 Jan 2010, Juha Manninen wrote: On lauantai, 2. tammikuuta 2010 04:53:16 Doug Chamberlin wrote: For my new year's resolution I'm going to commit to FPC and Lazarus. So, I'm installing the latest in a fresh Ubuntu 9.10 VM and diving in. I'll be pushing all this software hard and will

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Joost van der Sluis
On Sat, 2010-01-02 at 13:00 +0200, Juha Manninen wrote: On lauantai, 2. tammikuuta 2010 04:53:16 Doug Chamberlin wrote: Things are easy if there is a distro package for FPC. I am sure the main distros will have a package for fpc 2.4.0 in few days. Problem with that is that for distro's which

[fpc-pascal] Re: [Lazarus] OT: Happy new year

2010-01-02 Thread ik
Thanks Ido http://ik.homelinux.org/ 2009/12/31 Giuliano Colla giuliano.co...@fastwebnet.it I join Ido in wishing you all a very happy new year. To Ido, shana tova umetukah. Giuliano ik ha scritto: Hello All, Sorry for the offtopic, but I wish you all happy new year. I hope that in

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Juha Manninen
On lauantai, 2. tammikuuta 2010 13:18:49 Michael Van Canneyt wrote: I guess you didn't read the documentation then. It is published on the website: http://www.freepascal.org/docs-html/user/user.html Chapter 2 is all about installing. In particular, section 2.2.1 says something about

[fpc-pascal] Re: [Lazarus] OT: Happy new year

2010-01-02 Thread Felipe Monteiro de Carvalho
Feliz ano novo! better late then never =p -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread Juha Manninen
On torstai, 31. joulukuuta 2009 16:33:50 Anthony Walter wrote: No, the compiler will not fill in the array length based on your element list. It does compute the length while compiling and *you* need to match it in your declaration. In most cases it would be better if the compiler counted the

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Anthony Walter
On Sat, Jan 2, 2010 at 5:44 AM, Paul Ishenin webpi...@mail.ru wrote: Jonas Maebe wrote: http://edn.embarcadero.com/article/6 Note that even Delphi doesn't have them yet (it might also turn up in Delphi in the future). Looks as something related to:

Re: [fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread JoshyFun
Hello FPC-Pascal, Saturday, January 2, 2010, 4:01:35 PM, you wrote: JM In most cases it would be better if the compiler counted the number of JM elements. Only in few cases the programmer really wants to limit the number to JM some predefined value. JM The currently used syntax for const array

Re: [fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread Jürgen Hestermann
Juha Manninen schrieb: const a: array of string = ('aaa', 'bbb', 'ccc'); It looks like a dynamic array, but obviously is not dynamic because it is constant. :-) The indexing would start from 0 like with dynamic arrays. It would not break the existing syntax and would be very intuitive.

Re: [fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread Juha Manninen
On lauantai, 2. tammikuuta 2010 17:34:57 JoshyFun wrote: From my point of view that's a dynamic array, if it looks like a dynamic array ir should be a dynamic array. It can't be dynamic because it is under const section :-) Other pascals uses something like: a: array[1..] or string = ('aaa',

Re: [fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread Rainer Stratmann
Am Saturday 02 January 2010 16:34:57 schrieb JoshyFun: a: array[1..] or string = ('aaa', 'bbb', 'ccc'); That would be perfect. Then you can automatically calculate the amount: amax = sizeof( a ) div sizeof( a[ 1 ] ); And you are free to set the number of the first array, in this case 1. Like

Re: [fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread Vincent Snijders
Jürgen Hestermann schreef: Juha Manninen schrieb: const a: array of string = ('aaa', 'bbb', 'ccc'); It looks like a dynamic array, but obviously is not dynamic because it is constant. :-) The indexing would start from 0 like with dynamic arrays. It would not break the existing syntax and

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Doug Chamberlin
Michael Van Canneyt wrote: On Sat, 2 Jan 2010, Juha Manninen wrote: I also looked at FPC page and wiki page and there are no instructions for installation! How is it possible? The only link for FPC installation is buried under Lazarus documentation (!) :

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-02 Thread Jonas Maebe
On 02 Jan 2010, at 21:56, Doug Chamberlin wrote: 1) Yes, the Users Guide has installation instructions in Chapter 2. However, it warns only to not install the software into directories that contain embedded spaces. It does NOT warn about untarring the tarballs into such directories.