Logo

Programming-Idioms

History of Idiom 3 > diff from v14 to v15

Edit summary for version 15 by :
New Lua implementation by user [jparoz]

Version 14

2015-11-30, 12:37:23

Version 15

2016-02-16, 15:15:49

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
function finish(name)
	print('My job here is done. Goodbye, '..name)
end