• 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: Nigel Garvey <email@hidden>
  • Date: Mon, 25 Mar 2002 01:27:12 +0000

has wrote on Sun, 24 Mar 2002 13:24:46 +0000:

>Steven Angier wrote:
>
>>> >You can destroy a variable in AppleScript by setting its value to
>nothing,
>>> >though I'm not
>>> >sure why you'd want to:
>>> >
>>> >set x to 1
>>> >set x to GetNothing()
>>> >return x
>>> >
>>> >on GetNothing()
>>> >return
>>> >end

>>It works on all machines I have available for testing (AS 1.6 through
>>1.8.x; OS 9.x and OS 10.1.x)
>
>It doesn't work here on AS1.3.7 under OS8.6. (Can't test on 9/X at the
>moment as they're still in the box...)
>
>Hmmm. Anyone know if this is an AS version issue, or something else?

It seems to be a version issue. It works for me under AS 1.6, but not
under AS 1.3.7. I think I prefer the 1.3.7 behaviour.

NG
_______________________________________________
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: Bounds of Desktop(OS X)
  • Next by Date: Photo Paint to Excel via applescript
  • 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