RosettaCodeData/Task/Introspection/Lingo/introspection-2.lingo

7 lines
253 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
-- check existence of bloop in local scope
2016-12-05 23:44:36 +01:00
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)