Promixis
September 18th, 2003, 11:42 AM
function ProtectedCall (f, ...)
return call(f, arg, "x", function (msg) %arg.msg = msg end) or nil, arg.msg
end
res,err = ProtectedCall (round,"fff55.666",0)
print (res or err)
res,err = ProtectedCall (round,"55.666",1)
print (res or err)
return call(f, arg, "x", function (msg) %arg.msg = msg end) or nil, arg.msg
end
res,err = ProtectedCall (round,"fff55.666",0)
print (res or err)
res,err = ProtectedCall (round,"55.666",1)
print (res or err)