0
votes
Vote UpVote

Delphi Tip of the Day - What is the "A" prefix I see used on parameters?

Cape Cod Gunny Does Delphi – Today's Delphi Tip of the Day is all about consistent naming conventions. Consistency in the Delphi and Object Pascal language makes it easier to read and comprehend the code.I have often wondered why the "A" prefix is used on Delphi parameters. Instead of just accepting it a some esoteric thing as I have done for the past twenty years, I googled around and found an answer. Have a look at the following code snippet:constructor TPerson.Create(AFirstName, ALastName: string);begin FirstName := AFirstName; LastName := ALastName;end;The "A" in "AFirstName" and "ALastName" denotes an Argument as ...
Favorite? Off-Topic? Michael Riley @ 2019-03-05 02:01

Statistics

Visits: 332
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)