What's the matter with use keyword : sometimes use exists
source use use: func [locals [block!] body [block!]][do bind body make object! collect [ forall locals [keep to set-word! locals/1] keep none ]]
but if you just run console it doesn't :worried:
source use *** Script Error: val needs a value *** Where: set *** Stack: source
inherent type priority
Is there some reason why there is such priority?
sort/stable [1 2.2 "zzstring" #"_" <atag> #issue 229%] ; == ["zzstring" 1 2.2 #"_" #issue 229% <atag>]
It seems that
string! is always before
float! (understandable). Why
char! isn't before/after string? Some
any-string! should stick together (I would add
char! too)... well is there reason why there is such prority
a: 1 b: 2 use ["a b are some variables, weird test1 returns none whereas test2 returns 2"][ test1: a test2: b probe test1 probe test2 ]
useseems like a solution in search of a problem in red
functiondoes a deep-traversal and localizes all set-words it sees,
/externis a way to say which set-words should not be localized.
/externafter function creation.
make function! ...
hasare just shortcuts, there're no other natives that use this dialect.
trueif you supply them as refinements.