Global Script Problem

Steve Hume stevelist at hume.ca
Mon Jun 15 12:05:35 EDT 2015


> On Jun 15, 2015, at 11:52 AM, George Handley <ghandley at kc.rr.com> wrote:
> 
> ft = ((Get Unit Property "Forecast Text" from unit "Davis Forecast Text") as string)
> 
> --if ft = "The forecast is Mostly Cloudy And Cooler. Precipitation Likely. Windy With Possible Wind Shift To The W, Nw, Or N.” then
> --ft = "The forecast is Mostly Cloudy And Cooler. Precipitation Likely. Windy With Possible Wind Shift To The West, Northwest, Or North.”
> --Set Unit Property "Forecast Text" to ft in unit "Davis Forecast Text"
> --end if
> 
> Does anyone see anything obvious for why I can’t compile the above?


Yes.

Try cleaning up the double quotes on the strings. Perhaps you pasted them from some nice text editor that was doing typographer quotes.


Steve Hume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shed.com/pipermail/xtensionlist/attachments/20150615/23a06198/attachment.html>


More information about the XTensionList mailing list