RosettaCodeData/Task/Runtime-evaluation/Harbour/runtime-evaluation.harbour

10 lines
200 B
Plaintext

Procedure Main()
local bAdd := {|Label,n1,n2| Qout( Label ), QQout( n1 + n2 )}
Eval( bAdd, "5+5 = ", 5, 5 )
Eval( bAdd, "5-5 = ", 5, -5 )
return
Upon execution you see:
5+5 = 10
5-5 = 0