• 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: another interesting bug.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: another interesting bug.


  • Subject: Re: another interesting bug.
  • From: Luther Fuller <email@hidden>
  • Date: Mon, 31 Aug 2009 16:54:11 -0500

On Aug 31, 2009, at 4:07 PM, Deivy Petrescu wrote:
You are running Snow  Leopard, could you please run the script above in AS Editor both in 64- and 32-bit and report back.
Thank you.

I AppleScript Editor I get ...
set e to -10004
display dialog e --> 4294957292
return e --> -10004

In Smile I get ...
set e to -10004
display dialog e --> -10004
return e --> -10004

I compiled this script ...
on run
my test()
display dialog the result
end run

on test()
set e to -10004
display dialog e 
delay 1
return e 
end test

as an un-editable application bundle via AppleScript Editor. Very interesting!

When first compiled, the "Open in 32 bit mode" is unchecked and the result is ...
First dialog --> 4294957292
Second dialog --> 4294957292

I then checked "Open in 32 bit mode" and double-clicked it again with the result ...
First dialog --> -10004
Second dialog --> -10004

Mmmmmmm!

 _______________________________________________
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

  • Follow-Ups:
    • Re: another interesting bug.
      • From: Deivy Marck Petrescu <email@hidden>
References: 
 >another interesting bug. (From: Deivy Petrescu <email@hidden>)
 >Re: another interesting bug. (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: Re: another interesting bug.
  • Next by Date: Re: Snow Arithmetic
  • Previous by thread: Re: another interesting bug.
  • Next by thread: Re: another interesting bug.
  • Index(es):
    • Date
    • Thread