> > TShiftState is defined as TShiftState = set of (...);
> >
> > How can I iterate through the enums? If not, can we split and add an
> > enum:
> >
> > TShiftStateEnum = (...)
> > TShiftState = set of TShiftStateEnum;
> >
> > ?
>
> Of course that is possible. It requires some imagination thoug
> TShiftState is defined as TShiftState = set of (...);
>
> How can I iterate through the enums? If not, can we split and add an
> enum:
>
> TShiftStateEnum = (...)
> TShiftState = set of TShiftStateEnum;
>
> ?
Of course that is possible. It requires some imagination though (and a feel
for obfu
TShiftState is defined as TShiftState = set of (...);
How can I iterate through the enums? If not, can we split and add an
enum:
TShiftStateEnum = (...)
TShiftState = set of TShiftStateEnum;
?
Mattias
___
fpc-devel maillist - fpc-devel@lists.free
On 16 feb 2005, at 13:24, Alexey Barkovoy wrote:
2) Sets with minimal size, at least with 1 and 2 bytes for
replacement
of Byte and Word types.
This is already correctly working (at least in FPC 1.9.x). For example:
No, those are enumerations, not sets.
Jonas
__
> After eliminating dozens of bugs now I have a working version of
> Abbrevia for Delphi. Unfortunately this version is not usable with FPC,
> primarily because FPC doesn't support properties for the Object type.
>
> In my code I like to use Object for records with methods and properties,
> which n
> D6 accepts:
>
> type x = object
> fblaat : integer;
> property blaat:integer read fblaat write fblaat;
> end;
>
> assignig fblaat and writeln(blaat) also works.
>
> So it seems it works as expected in D6.
Same with FPC, the below program prints 1234 (r
2) Sets with minimal size, at least with 1 and 2 bytes for replacement
of Byte and Word types.
This is already correctly working (at least in FPC 1.9.x). For example:
type
{$MINENUMSIZE 2}
enumDMUS_VARIATIONT_TYPES = (
DMUS_VARIATIONT_SEQUENTIAL {= 0}, (* Play sequential starting with
va
- Original Message -
From: "DrDiettrich" <[EMAIL PROTECTED]>
To: "FPC developers' list"
Sent: Tuesday, February 15, 2005 4:11 AM
Subject: Re: [fpc-devel] Bug in PWidechar and refcounting
Alexey Barkovoy wrote:
PAnsiChar, PChar are just pointers and not garbage collected by compiler. But
Hello Marco,
Wednesday, February 16, 2005, 1:32:58 PM, you wrote:
>Currently FPC has special code that forbids property in objects for delphi
>mode.
At least Delphi versions from 2 to 7 support propereties for old-style
objects. This feature is used BTW in KOL library. Some years ago I
implemente
Hello Jonas,
Wednesday, February 16, 2005, 11:24:00 AM, you wrote:
>> 1) Properties for Object type.
Should already work with {$mode Delphi} - if this feature is not
broken again now.
___
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://
> 2) Sets with minimal size, at least with 1 and 2 bytes for replacement
> of Byte and Word types.
>
> I consider both features as vital in translations from C to Pascal, and
> in the detection and elimination of bugs. Will it be possible to add
> these features to FPC, this year?
I'm interested
> After eliminating dozens of bugs now I have a working version of
> Abbrevia for Delphi. Unfortunately this version is not usable with FPC,
> primarily because FPC doesn't support properties for the Object type.
>
> In my code I like to use Object for records with methods and properties,
> which n
> > After eliminating dozens of bugs now I have a working version of
> > Abbrevia for Delphi. Unfortunately this version is not usable with FPC,
> > primarily because FPC doesn't support properties for the Object type.
> >
> > In my code I like to use Object for records with methods and properties,
> After eliminating dozens of bugs now I have a working version of
> Abbrevia for Delphi. Unfortunately this version is not usable with FPC,
> primarily because FPC doesn't support properties for the Object type.
>
> In my code I like to use Object for records with methods and properties,
> which n
Marco van de Voort wrote:
Video doesn't restore terminal settings on Linux after exiting
-- the command line doesn't show any typed in text, and doesn't
process CR characters... Is this a bug? And if not, what's the cure?
(except of course manual reset of the console after execution)
Do you cal
> Alexey Barkovoy wrote:
>> PAnsiChar, PChar are just pointers and not garbage collected by
>> compiler. But
>> AnsiString and WideString are compiler managed types. So, as Peter
>> mentioned,
>> behaviour you are seeing is by design.
>
> In Delphi WideString is not reference counted at all. The la
On 15 feb 2005, at 02:35, DrDiettrich wrote:
1) Properties for Object type.
I guess this won't be that hard to add, given that we already support
global properties (so they're not really tied to classes)
2) Sets with minimal size, at least with 1 and 2 bytes for replacement
of Byte and Word types
>> Video doesn't restore terminal settings on Linux after exiting --
>> the
>> command line doesn't show any typed in text, and doesn't process CR
>> characters... Is this a bug? And if not, what's the cure? (except of
>> course
>> manual reset of the console after execution)
>
> Do you call do
18 matches
Mail list logo