RosettaCodeData/Task/Introspection/Lingo/introspection-2.lingo
2023-07-01 13:44:08 -04: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)