On 14/06/2023 14:20, Hairy Pixels via fpc-pascal wrote:
I was curious, if you had a Pascal (short) string and it was going to be passed
around often would that be slower than using an AnsiString since its size is
that of a pointer? I always prefer short strings when I know the length will be
l
Hi Tomas,
On top of your suggestion, the only way to make FPC happy is to assign nil
to the type constants and then assign the corresponding pointers to them
somewhere:
unit eyelink.constants
interface
const
EXTERNAL_DEV_NONE : TGetExButtonStatesFunction = nil;
EXTERNAL_DEV_CEDRUS : TGetExBut
On 09/06/2023 12:03, Mattias Gaertner via fpc-pascal wrote:
What is -CO?
In the docs I can only find this sentence:
"Check for possible overflow of integer operations"
It prints a warning whenever the compiler inserts an implicit type
conversion to a type that cannot represent every value of
On Thu, 15 Jun 2023 22:00:03 +0200
Jonas Maebe via fpc-pascal wrote:
> On 09/06/2023 12:03, Mattias Gaertner via fpc-pascal wrote:
> > What is -CO?
> >
> > In the docs I can only find this sentence:
> > "Check for possible overflow of integer operations"
>
> It prints a warning whenever the c
Is http://sprunge.us/MOJIg4 a legitimate use of a for loop with break? I
know there are better ways to do it, but I'm just wondering whether
it's legitimate.
SteveT
Steve Litt
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm
_
> On Jun 16, 2023, at 6:07 AM, Steve Litt via fpc-pascal
> wrote:
>
> Is http://sprunge.us/MOJIg4 a legitimate use of a for loop with break? I
> know there are better ways to do it, but I'm just wondering whether
> it's legitimate.
What are you trying to do exactly? It's an array with a term
Hairy Pixels via fpc-pascal said on Fri, 16 Jun 2023 09:57:36 +0700
>> On Jun 16, 2023, at 6:07 AM, Steve Litt via fpc-pascal
>> wrote:
>>
>> Is http://sprunge.us/MOJIg4 a legitimate use of a for loop with
>> break? I know there are better ways to do it, but I'm just wondering
>> whether it's le