Odd scripting problem
George Handley
12508handwork at gmail.com
Sun Mar 13 01:35:46 EST 2016
Hello Ard!
I certainly appreciate the systematic way you broke down the obvious way a good programmer would deconstruct where the problem could be. The entire script for which I started the second test portion is probably 20 times as long.
My problem is with a basic syntax or logic of the one section of code I sent.
Your wisdom is perfect. Unfortunately Ard, I've already done this and that's why I wrote to the List.
I hope that there's something in your message that I haven't grasped, but will wait for your reply to know for sure.
Thank you very much and best wishes,
George
Sent from my iPhone
> On Mar 13, 2016, at 12:10 AM, ard jonker <ard.jonker at xs4all.nl> wrote:
>
>
>> On 13 Mar 2016, at 03:10, George Handley <ghandley at kc.rr.com> wrote:
>>
>> I’m having a scripting problem that no matter what I do, will not work… anymore.
>> It used to work with 584, but now with 625 and 627, one way I write it tells me that it “Can’t turn Mr. & Mrs. Handley” into a boolean. If I write it the way below, it tells me:
>> “OAS Error -2741: Expecting a “then”, etc. but found unknown token.”
>
> Hi George,
> in the spirit of "give a man a fish and he'll eat for a day":
> I would copy the code to a separate script to copy from and then cut back and piecewise test the original code.
> At first, don't fetch the content of the fields but fill in Arivee using a string constant.
> Then slowly add more code to see where AS starts complaining.
> Finally if the ifthenelses work, put the code back in that fills the Arivee string using the get unit property.
>
> This way you can check if it is your code or it is strange characters somewhere. (and no, I don't fish and yes, I too often oversee the obvious).
>
>
> Cheers,
> Ard
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
More information about the XTensionList
mailing list