Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
19
Task/Undefined-values/Logo/undefined-values.logo
Normal file
19
Task/Undefined-values/Logo/undefined-values.logo
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
; procedures
|
||||
to square :x
|
||||
output :x * :x
|
||||
end
|
||||
|
||||
show defined? "x ; true
|
||||
show procedure? "x ; true (also works for built-in primitives)
|
||||
erase "x
|
||||
show defined? "x ; false
|
||||
show square 3 ; I don't know how to square
|
||||
|
||||
; names
|
||||
|
||||
make "n 23
|
||||
|
||||
show name? "n ; true
|
||||
ern "n
|
||||
show name? "n ; false
|
||||
show :n ; n has no value
|
||||
Loading…
Add table
Add a link
Reference in a new issue