variables and labels
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.