• 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
variables and labels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

variables and labels


  • Subject: variables and labels
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 22 Dec 2003 00:48:55 -0700

This might be old news to you, but I just discovered that you can use the same identifier for a record label and for a variable in the same script.

For example:

set a to {{a:1, C:2}, {3, 4, 5}, 6}
a

--> {{a:"Polygram", C:2}, {3, 4, 5}, 6}

In the above, a is a variable.

a of item 1 of a

--> "Polygram"

But in the above, a is a record label.

-- Michelle

--
Never play strip Tarot.
_______________________________________________
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.

  • Follow-Ups:
    • Re: variables and labels
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Applescript 1.9.3
  • Next by Date: Re: OT: "Reply to all" oddity; server or Entourage??
  • Previous by thread: XMLRPC Return Values and popfile
  • Next by thread: Re: variables and labels
  • Index(es):
    • Date
    • Thread