RosettaCodeData/Task/Introspection/Lingo/introspection-2.lingo
2019-09-12 10:33:56 -07:00

6 lines
253 B
Text

-- check existence of bloop in local scope
bloopExists = not voidP(value("bloop"))
-- or for global scope:
-- bloopExists = not voidP(_global.bloop)
absExists = value("abs(1)")=1
if bloopExists and absExists then put abs(bloop) -- or abs(_global.bloop)