RosettaCodeData/Task/Introspection/MAXScript/introspection.max
2013-04-11 11:14:19 -07:00

28 lines
401 B
Text

fn computeAbsBloop bloop =
(
versionNumber = maxVersion()
if versionNumber[1] < 9000 then
(
print "Max version 9 required"
return false
)
if bloop == undefined then
(
print "Bloop is undefined"
return false
)
try
(
abs bloop
)
catch
(
print "No function abs"
false
)
)
computeAbsBloop -17