referencing the list class?
referencing the list class?
- Subject: referencing the list class?
- From: Malcolm Fitzgerald <email@hidden>
- Date: Thu, 10 Apr 2003 11:09:57 +1000
I'm running this in Smile 1.8.8 under OS9.2
Can anyone tell me what is happening when I use the class name in
these examples?
{"a", "b", "c"}
--> {"a", "b", "c"}
list {"a", "b", "c"}
--> ERROR: Can't get list {"a", "b", "c"}
set the second_item to a reference to the second item of {"a", "b", "c"}
--> item 2 of {"a", "b", "c"}
set the second_list_item to a reference to the second item of list
{"a", "b", "c"}
--> item 2 of list {"a", "b", "c"} of +script;
-- This result is different to the previous one
set the second_item to the second item of {"a", "b", "c"}
--> "b"
set the second_list_item to the second item of list {"a", "b", "c"}
--> ERROR: Can't get item 2 of list {"a", "b", "c"}
-- We can refer to it but we can't get it
What is happening here? Why is it that we can we can refer to the
object? How can we get the object?
--
Malcolm Fitzgerald
Database Manager
The Australian Society of Authors
phone: 02 9318 0877 fax: 02 9318 0530
http://www.asauthors.org mailto:email@hidden
_______________________________________________
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.