• 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
How can you tell whether you have a reference or not?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can you tell whether you have a reference or not?


  • Subject: How can you tell whether you have a reference or not?
  • From: "Nathan Herring" <email@hidden>
  • Date: Thu, 6 Feb 2003 12:06:01 -0800
  • Thread-topic: How can you tell whether you have a reference or not?

If I have a local variable, how can I tell whether it's a reference to
something or just a value class?

e.g.

set foo to 1 -- value class
set bar to a reference to foo -- reference class

class of foo and class of bar both return integer.

Any way to know?

nh
_______________________________________________
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:Storing preferences, part deux
  • Next by Date: UI Scripting: Setting Save As Folder
  • Previous by thread: Re: getting at frames in IE 5 (OS9)
  • Next by thread: Re: How can you tell whether you have a reference or not?
  • Index(es):
    • Date
    • Thread