Logo

Programming-Idioms

History of Idiom 3 > diff from v15 to v16

Edit summary for version 16 by :
New Ada implementation by user [Smaehtin]

Version 15

2016-02-16, 15:15:49

Version 16

2016-02-16, 15:34:02

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Idiom #3 Create a procedure

Like a function which doesn't return any value, thus has only side effects (e.g. Print to standard output)

Code
procedure Finish (Name : String) is
begin
   Put_Line ("My job here is done. Goodbye " & Name);
end Finish;