Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2018-03

What to call this?

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ozz Nixon

Going through the system unit, and I noticed this syntax (not verbatim!)

Procedure Cmd_Line:PChar;
property CmdLine read Cmd_Line;

* Debating about support this, but, no idea what this would be called, a property outside of a class, to a global proc.

Thanks!
Ozz

Reply by email

Mattias Gaertner
to Ozz Nixon: Going through the system unit, and I noticed this syntax (not verbatim!) Procedure…
Show quoted text 7 lines
Going through the system unit, and I noticed this syntax (not verbatim!) Procedure Cmd_Line:PChar; property CmdLine read Cmd_Line; * Debating about support this, but, no idea what this would be called, a property outside of a class, to a global proc.

Do you mean "global properties":
https://freepascal.org/docs-html/ref/refse27.html

Mattias

Reply by email