Why doesn't this work?
Bill Vlahos
bvlahos at mac.com
Sun May 31 13:18:11 EDT 2015
My apologies. Mark and Klaus both came up with the correct solution.
When I copied/pasted from the email it must have picked up a something extra that made it not work.
I tried it again and it works fine.
Thank you,
Bill Vlahos
> On May 31, 2015, at 9:59 AM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
>
> Hi Bill,
>
> "Doesn't like" is far from informative. Could you describe the unwanted behaviour and include the exact text of any error messages you get?
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Installer Maker for LiveCode:
> http://qery.us/468
>
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
>
> LiveCode on Facebook:
> https://www.facebook.com/groups/runrev/
>
> On 5/31/2015 18:55, Bill Vlahos wrote:
>> Unfortunately neither of these suggestions work. LiveCode doesn’t like the parenthesis.
>>
>> I also tried using quote & syntax and that didn’t work either.
>>
>> Bill
>>
>>> On May 31, 2015, at 9:34 AM, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
>>>
>>> Bill,
>>>
>>> It doesn't work because LiveCode first parses "url [the url]" and then concatenates the subsequent strings. Try using parentheses:
>>>
>>> put "805" into vAC
>>> put URL ("http://www.webservicex.net/uszip.asmx/GetInfoByAreaCode?USAreaCode=" & vAC) && "HTTP/1.1"
>>>
>>> --
>>> Best regards,
>>>
>>> Mark Schonewille
>>>
>>> Economy-x-Talk Consulting and Software Engineering
>>> Homepage: http://economy-x-talk.com
>>> Twitter: http://twitter.com/xtalkprogrammer
>>> KvK: 50277553
>>>
>>> Installer Maker for LiveCode:
>>> http://qery.us/468
>>>
>>> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
>>>
>>> LiveCode on Facebook:
>>> https://www.facebook.com/groups/runrev/
>>>
>>> On 5/31/2015 18:29, Bill Vlahos wrote:
>>>> put "805" into vAC
>>>> put URL"http://www.webservicex.net/uszip.asmx/GetInfoByAreaCode?USAreaCode=" & vAC && "HTTP/1.1"
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list