Runtime evaluation: Difference between revisions

Line 447:
=={{header|Harbour}}==
<lang harbour>
'''Procedure''' Main()
local bAdd := {|Label,n1,n2| Qout( Label ), QQout( n1 + n2 )}
Eval( bAdd, "5+5 = ", 5, 5 )
Line 454:
 
Upon execution you see:
''5+5 = 10
5-5 = 0''
--~~~~
</lang>
 
Anonymous user