0
votes
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 ...
Statistics
|
Visits by Source |
User Actions |




