Re: choose from list bug??
Re: choose from list bug??
- Subject: Re: choose from list bug??
- From: Arnaud Nicolet <email@hidden>
- Date: Tue, 27 Mar 2007 22:06:25 +0200
Le 27 mars 07 à 21:16 Soir, Michelle Steiner a écrit:
On Mar 27, 2007, at 11:57 AM, Arnaud Nicolet wrote:
Is it an improper coercion?
Because I tried this script:
set i to 3
set i to i as integer --Also a not needed coercion.
get i
so what's the difference?
It's not the same.
Try these four 2-line scripts:
set a "this is a string"
a as string
set a "this is a string"
string a
set a to 3
a as integer
set a to 3
integer a
You just missed a "to":
set a to "this is a string"
;-)
Thank you.
In fact, since I use another language, I often mix them and expect
something to work or fail when it is not. _______________________________________________
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