0
votes
Vote UpVote

Anonymous Methods in Delphi

Yanniel's notes – Under the scope of Delphi, an anonymous method is either a procedure or function that’s unattached to an identifier. In other words, anonymous methods don’t have names, which is why they are called “anonymous”.Basically, you can assign a block of code (in the form of a procedure or function) directly to a variable.I am going to give you a simplistic example. I am going to Keep it simple, Stupid! to avoid distracting you with any complexity. This is the wording of the task: create a console application which prints “Hello world” and “Good bye” to the standard output. Constraint: use the Writeln ...
Favorite? Off-Topic? Yanniel @ 2011-08-19 16:38

Statistics

Visits: 48
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)