[fpc-devel] RTF parser patch missed

2007-02-15 Thread Jesus Reyes
Hi some months ago I sent a patch for rtf parser. Can someone take a look and see if can be applied? Reference: http://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg05949.html Jesus Reyes A. ___

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Vinzent Hoefler
On Thursday 15 February 2007 14:46, Daniël Mantione wrote: > Op Thu, 15 Feb 2007, schreef Vinzent Hoefler: > Because, in a case statement you are already "inside" the brackets: Yeah, I sort of figured that. ;) > > Another oddity would be a for loop: > > > >for Bla := One to Five do ... > > >

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Daniël Mantione
Op Thu, 15 Feb 2007, schreef Vinzent Hoefler: > So if the case label is considered a set why can't I use a set constant > (see the commented lines above) Because a normal set is limited by brackets: const a = [1,2,5]; b = [a,7,8,9]; {This is not allowed.} b = [a]+[7,8,9]; {But t

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Florian Klaempfl
Daniël Mantione schrieb: >> Another minor issue is that a type declaration like: >> >>type >> My_Range = (2500 - 500) .. (2500 + 500); >> >> is not accepted (message similar to ";" expected, ".." found) and >> (basically the same declaration) >> >>type >> My_Range = 2500 - 500

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Vinzent Hoefler
On Thursday 15 February 2007 13:36, Daniël Mantione wrote: > Op Thu, 15 Feb 2007, schreef Vinzent Hoefler: > > Well, fair enough, but why is that I can declare a > > > >type > > Foo = array[byte] of Something; > > > > where the type name "byte" also indicates the range? Considering > > th

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Daniël Mantione
Op Thu, 15 Feb 2007, schreef Vinzent Hoefler: > Well, fair enough, but why is that I can declare a > >type > Foo = array[byte] of Something; > > where the type name "byte" also indicates the range? Considering that > >type > Foo = array[Low (byte) .. High (byte) of Somethi

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Vinzent Hoefler
On Thursday 15 February 2007 13:06, Daniël Mantione wrote: > Op Thu, 15 Feb 2007, schreef Vinzent Hoefler: > > program > >Case_Test; > > > > type > >My_Range = 2000 .. 3000; > > > > var > >X : Integer; > > > > begin > >X := 2500; > > > >case X of > > Low (My_Range) .. High

Re: [fpc-devel] "case" with range stupidities

2007-02-15 Thread Daniël Mantione
Op Thu, 15 Feb 2007, schreef Vinzent Hoefler: > program >Case_Test; > > type >My_Range = 2000 .. 3000; > > var >X : Integer; > > begin >X := 2500; > >case X of > Low (My_Range) .. High (My_Range) : WriteLn ('In range. (1)'); > My_Range

[fpc-devel] "case" with range stupidities

2007-02-15 Thread Vinzent Hoefler
Hi all, consider the following program: -- 8< -- program Case_Test; type My_Range = 2000 .. 3000; var X : Integer; begin X := 2500; case X of Low (My_Range) .. High (My_Range) : WriteLn ('In range. (1)'); My_Range : WriteLn ('In range. (2)'

[fpc-devel] patch:more clear definition of makeintresource, clearer definitions in wince defines.inc

2007-02-15 Thread Roozbeh GHolizadeh
Summary : "MakeIntResource" was previously declared as function in win32 and wince,windows.pp files,also we had one declared in rtl\resh.inc as pchar and also there was some uses of it just as pchar in classes. All these makes some problems in lazarus,as we cant have constants declared as ar

RE: [fpc-devel] Freepascal 2.0.4 made it to Ubuntu Feisty

2007-02-15 Thread peter green
> PPC is getting dropped in Fiesty, they will no longer officialy support > PPC. well they are making it no longer an official architecture but they aren't dropping it completely so pressure still needs to be kept up for them to build it on powerpc ;)

RE: [fpc-devel] Freepascal 2.0.4 made it to Ubuntu Feisty

2007-02-15 Thread Aleš Katona
On Št, 2007-02-15 at 08:37 +, peter green wrote: > FINALLY > > looks like they've built and uploaded the fpc source that was sitting in edgy > too > > only i386 and amd64 though by the looks of things not powerpc > > i wonder what they will do about updating it though, getting a non-autobui

RE: [fpc-devel] Freepascal 2.0.4 made it to Ubuntu Feisty

2007-02-15 Thread peter green
> Just like to say, that I noticed the other day that Freepascal 2.0.4 has > made it to the Ubuntu Feisty Universe repositories. Ubuntu Feisty is > expected to be out in April, but has never had Freepascal in it's > repositories before. > > I think this is great news for Freepascal... FINALLY lo