Re: what is the best way to 'unset' a variable
Re: what is the best way to 'unset' a variable
- Subject: Re: what is the best way to 'unset' a variable
- From: has <email@hidden>
- Date: Sun, 24 Mar 2002 00:38:09 +0000
Arthur J Knapp wrote:
>
script o
>
...
>
end script
>
>
set o to missing value --> "o" no longer points to the script
Careful with that sort of construct... for it may lead to self-destructing
scripts, and much wailing and wringing of hands shall surely follow.
---------------
script o
beep
end script
tell o to run
set o to missing value
---------------
run --> beep
run --> error "missing value doesn't understand the run message."
:p
has
--
http://www.barple.connectfree.co.uk/ -- The Little Page of Beta AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.