Re: [fpc-pascal] splitting string into array

2007-07-11 Thread Michael Van Canneyt
On Wed, 11 Jul 2007, L wrote: > > > > Wouldn't this function be a candidate for crawling into the 'strutils' > > > > unit? > > > > > > Probably, but I would change the interface: > > > > > > function Split(const str: string; const separator: string; var Res : array > of > > > string) : Integer;

Re: [fpc-pascal] splitting string into array

2007-07-11 Thread L
> > > Wouldn't this function be a candidate for crawling into the 'strutils' > > > unit? > > > > Probably, but I would change the interface: > > > > function Split(const str: string; const separator: string; var Res : array of > > string) : Integer; > > > > So the function returns the number of ele

Re: [fpc-pascal] splitting string into array

2007-07-11 Thread Marc Santhoff
Am Mittwoch, den 11.07.2007, 12:09 +0200 schrieb Michael Van Canneyt: > > On Tue, 10 Jul 2007, Marc Santhoff wrote: [...] > > Wouldn't this function be a candidate for crawling into the 'strutils' > > unit? > > Probably, but I would change the interface: > > function Split(const str: string; c

Re: [fpc-pascal] splitting string into array

2007-07-11 Thread Michael Van Canneyt
On Tue, 10 Jul 2007, Marc Santhoff wrote: > Am Dienstag, den 10.07.2007, 14:56 +0200 schrieb Andrea Mauri: > > I used this, check it. > > > > // Returns an array with the parts of "str" separated by "separator" > > function Split(const str: string; const separator: string): array of string; > >

Re: [fpc-pascal] splitting string into array

2007-07-11 Thread Michael Van Canneyt
On Wed, 11 Jul 2007, L wrote: > Marc Santhoff wrote: > > Hi, > > > > is there any function in the libraries of fpc for splitting a string > > into an array naming the separator? > > There is a function in the substrings.pas unit included in this > package: > > http://z505.com/cgi-bin/powtils/d

[fpc-pascal] Which FPU instruction sets are really implemented?

2007-07-11 Thread josepascual
This is the FPU instruction sets for ppcrossarm -i (version 2.1.4) === Supported FPU instruction sets: SOFT LIBGCC FPA FPA10 FPA11 VFP === Which are implemented? which meas LIBGCC? all floatpoint operation are executed in libgcc?