Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Introspection/Arturo/introspection.arturo
Normal file
14
Task/Introspection/Arturo/introspection.arturo
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
if not? sys\version > 0.9.0 -> panic "version too old!"
|
||||
|
||||
bloop: 3 - 5
|
||||
|
||||
if? set? 'bloop -> "variable 'bloop' is set"
|
||||
else -> "variable 'bloop' is not set"
|
||||
|
||||
if set? 'abs -> print ["the absolute value of bloop is:" abs bloop]
|
||||
|
||||
print [
|
||||
"The sum of all globally defined integers is:"
|
||||
sum map select keys symbols 'sym -> integer? var sym
|
||||
'sym -> var sym
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue