• 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: Problem with reading 4-byte floats from file on Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with reading 4-byte floats from file on Intel


  • Subject: Re: Problem with reading 4-byte floats from file on Intel
  • From: deivy petrescu <email@hidden>
  • Date: Mon, 3 Dec 2007 23:24:07 -0500


On Dec 3, 2007, at 21:53, email@hidden wrote:

Some other important info. I am running Script Editor 2.1.1 on OS X 10.4.10. My script needs to run on PPC and Intel, OS X 10.4 and higher.

After some further reading, I found out that if I am only doing the one file op, I don't even need to open or close the file in separate operations. So the main portion of my failing script can be reduced to:

set floatList to read file_alias from 0 for 512 as small real

Has anybody else had a successful experience reading 4-byte floats (aka "small real") with AppleScript (especially on an Intel Mac)?

- Rick

Rick

This is just to corroborate that there is a problem here.
The script above runs on a G4 but stumbles with error on an Intel iMac.
Tested both in SE and in Smile.

Deivy
_______________________________________________
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: Problem with reading 4-byte floats from file on Intel
      • From: Alexis Gottlieb <email@hidden>
References: 
 >Problem with reading 4-byte floats from file on Intel (From: email@hidden)
 >Re: Problem with reading 4-byte floats from file on Intel (From: email@hidden)

  • Prev by Date: Re: Problem with reading 4-byte floats from file on Intel
  • Next by Date: Re: Problem with reading 4-byte floats from file on Intel
  • Previous by thread: Re: Problem with reading 4-byte floats from file on Intel
  • Next by thread: Re: Problem with reading 4-byte floats from file on Intel
  • Index(es):
    • Date
    • Thread