Re: [fpc-pascal] What is webasssembly?

2023-10-10 Thread Michael Van Canneyt via fpc-pascal
On Tue, 10 Oct 2023, Steve Litt via fpc-pascal wrote: What is webasssembly? A bytecode format (similar to what is used in Java and C# runtimes) which is an open standard and which runs in all major browsers or in a host application. Michael. ___

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Sven Barth via fpc-pascal
Adriaan van Os via fpc-pascal schrieb am Mi., 11. Okt. 2023, 06:25: > Sven Barth via fpc-pascal wrote: > > Am 10.10.2023 um 11:18 schrieb Adriaan van Os via fpc-pascal: > >> > >>> > >>> - In the released compiler, if you remove all visibility specifiers, > >>> you can > >>> get a list by specif

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Adriaan van Os via fpc-pascal
Sven Barth via fpc-pascal wrote: Am 10.10.2023 um 11:18 schrieb Adriaan van Os via fpc-pascal: - In the released compiler, if you remove all visibility specifiers, you can get a list by specifying {$M+} on your base object and then list all published methods using the RTTI. My underst

[fpc-pascal] What is webasssembly?

2023-10-10 Thread Steve Litt via fpc-pascal
What is webasssembly? SteveT Steve Litt Autumn 2023 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinf

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Sven Barth via fpc-pascal
Am 10.10.2023 um 11:18 schrieb Adriaan van Os via fpc-pascal: - In the released compiler, if you remove all visibility specifiers, you can   get a list by specifying {$M+} on your base object and then list all   published methods using the RTTI. My understanding is that I have to explicite

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Sven Barth via fpc-pascal
Am 10.10.2023 um 11:01 schrieb Adriaan van Os via fpc-pascal: Sven Barth via fpc-pascal wrote: No. Only those in the published section are part of the vMethodTable. And when compiled with $M+ the default visibility is changed from public to published. Also, I can get a list of the interface

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Sven Barth via fpc-pascal
Am 10.10.2023 um 02:04 schrieb Adriaan van Os via fpc-pascal: Sven Barth via fpc-pascal wrote: No. Only those in the published section are part of the vMethodTable. And when compiled with $M+ the default visibility is changed from public to published. OK, but that means that by explicitely

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Adriaan van Os via fpc-pascal
Hairy Pixels via fpc-pascal wrote: On Oct 10, 2023, at 4:18 PM, Adriaan van Os via fpc-pascal wrote: Interesting ! If I am correct, the docs referred to at say ; visibility-clause: ; METHODS|PROPERTIES|FIELDS (visibility-express

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Hairy Pixels via fpc-pascal
> On Oct 10, 2023, at 4:18 PM, Adriaan van Os via fpc-pascal > wrote: > > Interesting ! If I am correct, the docs referred to at > say > > ; visibility-clause: > ; METHODS|PROPERTIES|FIELDS (visibility-expression) > > Does that m

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Adriaan van Os via fpc-pascal
Michael Van Canneyt via fpc-pascal wrote: On Mon, 9 Oct 2023, Adriaan van Os via fpc-pascal wrote: Is there a trick to make (in mode macpas) all class methods implicitely virtual ? I mean, without adding the virtual keyword to all of them ? The reason is that I want to create a tree view of

Re: [fpc-pascal] All methods vitrual ?

2023-10-10 Thread Adriaan van Os via fpc-pascal
Sven Barth via fpc-pascal wrote: No. Only those in the published section are part of the vMethodTable. And when compiled with $M+ the default visibility is changed from public to published. Also, I can get a list of the interfaces inherited from by a class, by looking at the vIntfTable of t