Global Script Problem

George Handley ghandley at kc.rr.com
Mon Jun 15 14:40:19 EDT 2015


That was all it was Steve, and over the years I’ve seen many query the same question, but this is the first time I tried to build a long script in a WP.

Thanks for the very simple, but super important tip.

George


> On Jun 15, 2015, at 11:05 AM, Steve Hume <stevelist at hume.ca> wrote:
> 
> 
>> On Jun 15, 2015, at 11:52 AM, George Handley <ghandley at kc.rr.com <mailto: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
> _______________________________________________
> XTensionList mailing list
> XTensionList at shed.com
> http://shed.com/mailman/listinfo/xtensionlist

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


More information about the XTensionList mailing list