List Behavior
List Behavior
- Subject: List Behavior
- From: John Mistler <email@hidden>
- Date: Wed, 5 Mar 2008 11:38:29 -0800
I have discovered some peculiar behavior with lists. Can anyone help me understand why?
This works as expected:
set a to {{1, 2, 3}, {"x", "y", "z"}}
set b to item 1 of a
set c to item 1 of a
set c to c & {4}
log b --> {1,2,3}
log c --> {1,2,3,4}
but why does this happen?:
set a to {{1, 2, 3}, {"x", "y", "z"}}
set b to item 1 of a
set c to item 1 of a
set end of c to 4
log b --> {1,2,3,4}
log c --> {1,2,3,4} _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden