forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Intersect
angerangel edited this page Mar 19, 2013
·
1 revision
INTERN data
Imports (internalize) words and their values from the lib into the user context.
INTERN is a function value.
- data -- Word or block of words to be added (deeply) (block! any-word!)
#SOURCE
intern: make function! [ [
{Imports (internalize) words and their values from the lib into the user context.}
data [block! any-word!] "Word or block of words to be added (deeply)"
/local index usr
][
index: 1 + length? usr: system/contexts/user
data: bind/new :data usr
resolve/only usr lib index
:data
] ]