From: Dancso Andras <[EMAIL PROTECTED]>
Subject: thread
Question: How can I start a new thread from FreePascal under Win32?
Thank you very much for your help.
Dancso Andras
___
fpc-pascal maillist - [
On Tue, Sep 02, 2003 at 09:56:18AM +0200, Chemistry.rd wrote:
> From: Dancso Andras <[EMAIL PROTECTED]>
> Subject: thread
>
> Question: How can I start a new thread from FreePascal under Win32?
I think it might be platform independent. If that's the case there's a
nice example in the FCL source.
Consider two implementations of the same function:
Implementation 1 (the old way):
function num_listing (n : word) : ansistring;
var i : word; num : string; result : ansistring;
begin
result := '';
for i := 0 to n do begin
str (n, num);
result := result + num; end;
num_listing := r
> Consider two implementations of the same function:
>
> Implementation 1 (the old way):
>
> function num_listing (n : word) : ansistring;
> var i : word; num : string; result : ansistring;
> begin
> result := '';
> for i := to n do begin
> str (n, num);
> result := result + num; end;