Skip to content

Instantly share code, notes, and snippets.

@lepinekong
Created November 10, 2017 17:34
Show Gist options
  • Save lepinekong/574c327539b7f0591442a6932bbe96bf to your computer and use it in GitHub Desktop.
Save lepinekong/574c327539b7f0591442a6932bbe96bf to your computer and use it in GitHub Desktop.
value? of system/words/test where test has not been defined yet
>> make-system: function[_param][
[ param: _param
[ if value? system/words/:param [
[ system/words/:param: function[][
[ print "test ok"
[ ]
[ system/words/:param
[ ]
[ ]
== func [_param /local param][param: _param
if value? system/words/:param [system/w...
>>
>> make-system 'test
*** Script Error: system/words/:param has no value
*** Where: value?
*** Stack: make-system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment