Re: Re: Dates gone wild
Re: Re: Dates gone wild
- Subject: Re: Re: Dates gone wild
- From: Helmut Fuchs <email@hidden>
- Date: Wed, 10 Sep 2003 01:33:15 +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 y,
rendering it pointless.
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.