angerangel edited this page Jan 4, 2013 · 1 revision

USAGE

   INTERN data

DESCRIPTION

Imports (internalize) words and their values from the lib into the user context.

INTERN is a function value.

ARGUMENTS

  • 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
] ]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.