Re: Re: Dates gone wild [correction]
Re: Re: Dates gone wild [correction]
- Subject: Re: Re: Dates gone wild [correction]
- From: Helmut Fuchs <email@hidden>
- Date: Wed, 10 Sep 2003 01:37:28 +0200
At 0:15 Uhr +0200 10.09.2003, Axel Luttgens wrote:
Strings are not liable to data sharing:
set x to "abcdefg"
set y to x
set x to "hijklmn"
x
--> "hijklmn"
y
--> "abcdefg"
Sorry to say so - but your example doesn't prove anything. If strings
are data shared can't be shown from an AppleScript perspective,
because strings are immutable values/objects.
You can't set any part of a string. Strings (like numerics) can only
be altered through assignment. If you could, then you'd see that
strings as well are data shared.
But in your example you are assigning a new string value to x,
rendering it pointless. [Shouldn't be posting in the middle of the
night - the last value assigned to is the x, not the y]
Regards,
Helmut
_______________________________________________
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.