Am 07.04.2017 um 16:15 schrieb Marco van de Voort:
> In our previous episode, African Wild Dog said:
>> Which integer types have their size dependent on platform?
>> E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform.
>
> In Delphi they retroactively equated longint to C long, bei
2017-04-07 12:33 GMT-03:00 Michael Van Canneyt :
>
>
> On Fri, 7 Apr 2017, African Wild Dog wrote:
>
> 2017-04-07 12:10 GMT-03:00 Michael Van Canneyt :
>>
>>
>>> NativeInt and NativeUInt are indeed provided for Delphi compatibility.
>>>
>>> Which integer type to chose : That depends. What do you w
On Fri, 7 Apr 2017, African Wild Dog wrote:
2017-04-07 12:10 GMT-03:00 Michael Van Canneyt :
NativeInt and NativeUInt are indeed provided for Delphi compatibility.
Which integer type to chose : That depends. What do you want to achieve
exactly ?
In Delphi, if i want an integer type whic
2017-04-07 12:10 GMT-03:00 Michael Van Canneyt :
>
> NativeInt and NativeUInt are indeed provided for Delphi compatibility.
>
> Which integer type to chose : That depends. What do you want to achieve
> exactly ?
>
>
In Delphi, if i want an integer type which depends on the target platform
(32 or 6
In our previous episode, African Wild Dog said:
> >
> http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Internal_Data_Formats_(Delphi)#Platform-Independent_Signed_Integer_Types
> .
> As Marco have pointed out, in Windows the Delphi's LongInt type is always
> 32-bits. On other platforms is platform
On Fri, 7 Apr 2017, African Wild Dog wrote:
2017-04-06 18:50 GMT-03:00 Mattias Gaertner :
Why do you think that Delphi's longint has 64bits anywhere?
Delphi's NativeInt is 32 or 64bit depending on platform.
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Internal_Data_Formats_(Delphi)#P
On Fri, 7 Apr 2017, African Wild Dog wrote:
2017-04-07 11:15 GMT-03:00 Marco van de Voort :
In our previous episode, African Wild Dog said:
Which integer types have their size dependent on platform?
E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform.
In Delphi they retroa
In our previous episode, African Wild Dog said:
> > On FPC it is always 32-bit. Ptrint and ptruint scale with pointer size, and
> > integer depends on compilation mode, 16 or 32-bit.
> >
> So, is the size of "Integer" type dependent on the compilation mode?
Yes.
> (Delphi is always 32 bits)
In
2017-04-06 18:50 GMT-03:00 Mattias Gaertner :
> Why do you think that Delphi's longint has 64bits anywhere?
> Delphi's NativeInt is 32 or 64bit depending on platform.
>
>
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Internal_Data_Formats_(Delphi)#Platform-Independent_Signed_Integer_Types
.
As
2017-04-07 11:15 GMT-03:00 Marco van de Voort :
> In our previous episode, African Wild Dog said:
> > Which integer types have their size dependent on platform?
> > E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform.
>
> In Delphi they retroactively equated longint to C long, bein
In our previous episode, African Wild Dog said:
> Which integer types have their size dependent on platform?
> E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform.
In Delphi they retroactively equated longint to C long, being 32-bit on
64-bits windows and 64-bit on Linux. The Delph
On Thu, 6 Apr 2017 18:25:40 -0300
African Wild Dog wrote:
> Which integer types have their size dependent on platform?
> E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform.
Why do you think that Delphi's longint has 64bits anywhere?
Delphi's NativeInt is 32 or 64bit depending on
Which integer types have their size dependent on platform?
E.g. in Delphi, LongInt can 32 or 64 bits depending on the platform.
The documentation says "every platform has a ”native” integer size,
depending on whether the platform is 8-bit, 16-bit, 32-bit or 64-bit. e.g.
On AVR this is 8-bit. ", but
On Thu, 23 Jun 2011 15:38:18 -0300, Flávio Etrusco
wrote:
On Thu, Jun 23, 2011 at 3:18 PM, wrote:
Hi,
I'm porting an app from Delphi to Lazarus when I came across a
couple of
functions from the windows unit. Can anyone help me finding the
platform
independent alternatives?
TerminateThrea
ZeelandNet Webmail Hi,
I'm porting an app from Delphi to Lazarus
when I came across a couple of functions from the windows unit. Can
anyone help me finding the platform independent
alternatives?
TerminateThread
WaitForSingleObject
CloseHandle
TIA,
Darius
__
On Thu, Jun 23, 2011 at 3:18 PM, wrote:
> Hi,
>
> I'm porting an app from Delphi to Lazarus when I came across a couple of
> functions from the windows unit. Can anyone help me finding the platform
> independent alternatives?
>
> TerminateThread
You shouldn't use it, generally speaking.
> Wait
Is there a way in the fpc.cfg file to detect what platform the (arm) cross
compiler is running on (not the target platform).
I want to do one thing when compiling on a win32 platform and another
thing when compiling on a Linux platform (commands to the linker and the
-Tlinux command on the win32 p
Am Samstag, den 04.03.2006, 19:33 +0100 schrieb Vincent Snijders:
> Marc Santhoff wrote:
> > Hi,
> >
> > the subject tells what I'm searching for:
> >
> > How can i wait a definit amount of time in a platform independant way?
> >
> > I need to pause a while loop for 1 second. The program should
Marc Santhoff wrote:
Hi,
the subject tells what I'm searching for:
How can i wait a definit amount of time in a platform independant way?
I need to pause a while loop for 1 second. The program should run at
least on FreeBSD and Windows.
while NOT doStop do begin
{ wait a little }
On 04 Mar 2006, at 19:16, Marc Santhoff wrote:
How can i wait a definit amount of time in a platform independant way?
There's the delay() procedure in the crt unit.
Jonas
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.fre
Hi,
the subject tells what I'm searching for:
How can i wait a definit amount of time in a platform independant way?
I need to pause a while loop for 1 second. The program should run at
least on FreeBSD and Windows.
while NOT doStop do begin
{ wait a little }
doSomethi
21 matches
Mail list logo