James Richters via fpc-pascal schrieb am
So., 5. Dez. 2021, 19:06:
> Is there some way I can do {$Q-} before my check then restore it to
> whatever it was before after it? (for example if it was already set to
> {$Q-} in the compiler, I would not want to turn it back on)
> Is there a way to do a
Am Sonntag, 5. Dezember 2021, 20:38:30 CET schrieb Rainer Stratmann via fpc-
pascal:
> Does that mean curl is always waiting until the whole operation (download)
> is complete?
>
> Is it possible to do it in a nonblocked way? For example with a continuous
> nonblocked loop call and a flag when the
Does that mean curl is always waiting until the whole operation (download) is
complete?
Is it possible to do it in a nonblocked way? For example with a continuous
nonblocked loop call and a flag when the operation is finished?
Am Dienstag, 28. September 2021, 02:01:00 CET schrieb Anthony Walte
Thanks for the explanation.
This works the way I want it to... working with the rollover without causing an
overflow error even if I leave overflow checking turned on.
DWord((QWord(GetTickCount) - QWord(Last_Input_Info.dwTime)) AND
$)
James
_
Oh I see.. it does work on DWord.. I was testing it with constants:
Writeln($FFFE+$0006);
But I think the compiler resolved this so it would never create a overflow
error..
When I do it with variables now I get the overflow and I can control it with
{$Q-} and {$Q+}
Is there some way I c
On 05/12/2021 17:10, James Richters via fpc-pascal wrote:
I did some tests and went to go turn on Overflow checking just to see what
would happen... and noticed it was on already...
but I noticed it's called "Integer Overflow Checking" which seems it would not
apply to things specifically set a
Indeed keeping it a DWord solves all the problems for any amount of time less
than the 49.7 day rollover time and I don't even have to check for the rollover
because it takes care of itself by doing unsigned arithmetic.
Is there even such a thing as overflow checking for DWord variables?
I did
Okay, this is a bit longish but related to my problem. I wrote this remote
terminal program which is explained somewhat in the video below. This is
where I am having the issue with Running sometimes not correctly reporting
the proper value.
https://www.twitch.tv/videos/1224798488
_
On Sun, 5 Dec 2021, Anthony Walter via fpc-pascal wrote:
On Linux using 3.3.1 build of FPC I've found that in many situations the
Running property of TProcess is unreliable. Is this a problem with
which anyone is familiar? I've searched around and haven't found any
discussions related to this