Re: [fpc-pascal] Faster fannkuch?

2007-11-11 Thread S. Fisher
--- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > S. Fisher schrieb: > > It seems strange that this is slower on the shootout's computer > > when it's faster both on my slow laptop and the 3GHz computer > > at work. > > The shootout uses a P4 which behaves sometimes strange regarding > optimizat

Re: [fpc-pascal] Faster fannkuch?

2007-11-11 Thread Florian Klaempfl
S. Fisher schrieb: > It seems strange that this is slower on the shootout's computer > when it's faster both on my slow laptop and the 3GHz computer > at work. The shootout uses a P4 which behaves sometimes strange regarding optimization. ___ fpc-pascal

Re: [fpc-pascal] Array slices

2007-11-11 Thread Daniƫl Mantione
Op Sun, 11 Nov 2007, schreef Christos Chryssochoidis: > Hello all, > > A while ago in one of the FPC lists I had read that FPC 2.2.0 supports array > slices. So I made a program to test this feature: > > > program Test_Slices; > > > > procedure Test(C : array of Integer); > > begin > > end;

[fpc-pascal] Array slices

2007-11-11 Thread Christos Chryssochoidis
Hello all, A while ago in one of the FPC lists I had read that FPC 2.2.0 supports array slices. So I made a program to test this feature: program Test_Slices; procedure Test(C : array of Integer); begin end; var A : array of Integer; B : array of Integer; begin setLengt

Re: [fpc-pascal] CSV via PCRE

2007-11-11 Thread Florian Klaempfl
> Regular expressions are used by vi and emacs; in fact, any editor that > doesn't let you do a regex search is a joke. (Even some microsoft > applications understand regexes.) So everyone who programs should > learn regular expressions. I can write regexs and decypher them, I even being guilty

Re: [fpc-pascal] CSV via PCRE

2007-11-11 Thread Marco van de Voort
> > But if you insist, I can give you a full running application. My > > point was that regular expression are normally a nightmare to debug > > and maintain. > > I don't think so. > > > Plus not everybody knows them (syntax wise), > > Not everyone knows how to tie his shoelaces. Not everybody

Re: [fpc-pascal] More help with unicode

2007-11-11 Thread Jonas Maebe
On 10 Nov 2007, at 16:41, Felipe Monteiro de Carvalho wrote: On Nov 10, 2007 4:30 PM, Jonas Maebe <[EMAIL PROTECTED]> wrote: You're making the same error which Marco pointed out earlier: Utf8Decode returns a (reference counted) widestring, but you are not assigning it to anything so it ends u

Re: [fpc-pascal] CSV via PCRE

2007-11-11 Thread Bee
Not everyone knows how to tie his shoelaces. One who doesn't tie his shoelaces doesn't mean he doesn't know how to do it. ;) Regular expressions are no more against the spirit of Pascal than associative arrays (hash tables) or any other feature that is added by using a unit. http://z505.co