• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: choose from list bug??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: choose from list bug?? (From: "Stockly, Ed" <email@hidden>)
 >Re: choose from list bug?? (From: Arnaud Nicolet <email@hidden>)
 >Re: choose from list bug?? (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Removing items from the Sidebar
  • Next by Date: Re: Scripting Sidebar Adding
  • Previous by thread: Re: choose from list bug??
  • Next by thread: Re: choose from list bug??
  • Index(es):
    • Date
    • Thread