Michael Van Canneyt via fpc-pascal
schrieb am Sa., 16. Dez. 2023, 09:43:
> The requirement for parameters in record constructors I guess comes from
> C++ builder by Embarcadero.
> There are some limitations imposed by C++.
>
> Whether they could be dropped in FPC is something Sven Barth should
On Sat, 16 Dec 2023, Hairy Pixels via fpc-pascal wrote:
On Dec 15, 2023, at 8:56 PM, Adriaan van Os via fpc-pascal
wrote:
What complicates things, is that many conflicting rules have the same name in
the Language Reference. For example, conceptually we have object-methods,
> On Dec 15, 2023, at 8:56 PM, Adriaan van Os via fpc-pascal
> wrote:
>
> What complicates things, is that many conflicting rules have the same name in
> the Language Reference. For example, conceptually we have object-methods,
> record-methods, class-methods, interface-methods and
On 15.12.23 16:00, Martin Frb via fpc-pascal wrote:
[...]
However, a method can be reintroduced, and be virtual/abstract.
type
TFoo = class
procedure Bar; virtual; abstract;
end;
TFoo2 = class(TFoo)
procedure Bar; reintroduce; virtual; abstract;
end;
Can that make
On 15/12/2023 14:56, Adriaan van Os via fpc-pascal wrote:
I am puzzled by the syntax rule in Chapter 6. Classes of
the FreePascal Language Reference (version 3.2.0)
Section 6.1 Class definitions has
method-definition = [ "CLASS" ] ( function-header |
procedure-header |
I am puzzled by the syntax rule in Chapter 6. Classes of the FreePascal Language
Reference (version 3.2.0)
Section 6.1 Class definitions has
method-definition = [ "CLASS" ] ( function-header | procedure-header | constructor-header |
destructor-header ) ";" [ ( ( ( "virtual" | "dynamic" ) [