-- assume the environment name MYNAME identifies the string "Simon"
name = value("MYNAME", , "") -- sends MYNAME message to the environment
say "Hello," name -- "Hello, Simon"
-- Assume the environment name NONAME does not exist
name = value("NONAME", , "") -- sends NONAME message to the environment
say "Hello," name -- "Hello, .NONAME"
=
appended) and the single argument newvalue
to the
environment object. After receiving this message, the environment identifies
the object newvalue by the name
name.call value "MYNAME", "David", "" -- sends MYNAME=("David") message to the environment
say "Hello," value("MYNAME", , "") -- "Hello, David"