Why is the first and third example *so* much faster than the second example?
Significantly faster.
There's really not that much difference between the string concatenation.
//Example 1: (seems fast)
function StrLoadFile_test1(FileName: string): string;
var
F: text;
c: char;
str1,Line: stri
On 18 Nov 2005, at 21:48, L wrote:
It does not work as is on Mac, but then, most people don't care.
*cry*
I would consider a Mac if they didn't weld them shut like those
iMacs. Talk about
closed source hardware.
Please post such drivel on fpc-other in the future, that's what that
li
> the new for..in loops in Delphi caught my eye
> fpc 2.0.0 doesn't compile this... are "for..in" loops
> in a newer version or will they be sometime soon?
I believe this was discussed at great length back in February,
but I'm not sure what the final verdict was:
http://lists.freepascal.o
On Fri, 18 Nov 2005 22:40:20 +0100
Micha Nelissen <[EMAIL PROTECTED]> wrote:
> On Fri, 18 Nov 2005 13:18:40 -0800 (PST)
> Alan Mead <[EMAIL PROTECTED]> wrote:
>
> > fpc 2.0.0 doesn't compile this... are "for..in" loops in a newer
> > version or will they be sometime soon? Here is a little blurb
On Fri, 18 Nov 2005 13:18:40 -0800 (PST)
Alan Mead <[EMAIL PROTECTED]> wrote:
> fpc 2.0.0 doesn't compile this... are "for..in" loops in a newer
> version or will they be sometime soon? Here is a little blurb about
FPC will never support this, AFAIK. It doesn't really add anything new, it
just s
I use Perl a lot so the new for..in loops in Delphi caught my eye:
program ForIn;
type TStringArray = array of String;
procedure Demo1(const List: TStringArray);
var S: String;
begin
for S in List do writeln(S);
end;
var sa: TStringArray;
begin
Demo1(sa);
end.
fpc 2.0.0 doesn't compile this..
Nice rant :)
On Nov 18, 2005, at 15:48, L wrote:
It does not work as is on Mac, but then, most people don't care.
*cry*
I would consider a Mac if they didn't weld them shut like those iMacs.
Talk about
closed source hardware.
Of course for every complaint I make someone will come b
> It does not work as is on Mac, but then, most people don't care. *cry*
>
I would consider a Mac if they didn't weld them shut like those iMacs. Talk
about
closed source hardware.
Of course for every complaint I make someone will come back with "but you can
buy
Macs with a tower case and
On 11/18/05, Jeff Pohlmeyer <[EMAIL PROTECTED]> wrote:
>
> If you don't mind using an external DLL, CurlPas is quite simple,
and presumably, if you are crafty, and licensing supports it, you
could link the curlpas runtime statically such that you don't need the
lib.
Tony
_
> I would like to download a file via HTTP, how can I achieve that in a
> platform independent way? What components to use and is there
> some code suited for dummy's available.
If you don't mind using an external DLL, CurlPas is quite simple,
and works on Linux, Windows, and possibly even Mac..
Thank you, Jonas Maebe and Felipe Monteiro de Carvalho
Gracias
Att.
Luis Del Aguila.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
11 matches
Mail list logo