• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: what is the best way to 'unset' a variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: what is the best way to 'unset' a variable
  • Next by Date: Re: [Back ON] Finding folder from its id
  • Previous by thread: Re: what is the best way to 'unset' a variable
  • Next by thread: Re: what is the best way to 'unset' a variable
  • Index(es):
    • Date
    • Thread