Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug?



On Sun, 22 Jan 2006 10:59:44 +0100, Miguel Saro <email@hidden> said:
>Hi,
>
>With ASStudio and Xcode 2.2.1, if I write: if  (x>Y or x = Y)  then
>..., all runs well.
>but if I write: if x >= Y then ....., Syntax seems correct and "Save"
>runs well, but I get the error:
>
>/Users/duncanmacheudress/Prog_it/Yanf/Application.applescript:268:
>Expected "then", etc. but found unknown token. (-2741)
>Command /usr/bin/osacompile failed with exit code 1
>
>If I try that with Applescript I've not the error!
>I've desintalled and installed again Xcode. Error is always the same!
>Anyone  has an idea for that?

I'm betting that your script text file has the wrong encoding. It is
probably UTF-8. Change it to MacRoman and see what happens. m.

-- 
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.