proc func_add(arg1, arg2)
return arg1 + arg2
endprocproc func_sub(arg1, arg2)
return arg1 - arg2
endprocproc func_mul(arg1, arg2)
return arg1 * arg2
endprocproc func_div(arg1, arg2)
return arg1 / arg2
endproc// op is one of 'add', 'sub', 'mul' or 'div'
res = ("func_" + op)(a, b)