Syntax problem

Sarah Reichelt sarahr at genesearch.com.au
Fri May 6 02:38:34 EDT 2005


> I don't think I understand your reply. The variable "theLink" holds a
> well-formed url. I'm looking to add to that url by adding the contents 
> of
> another variable "subID"
>
> Example:
>
> variable theLink holds  "http://www.google.com"
> variable subID holds a number such as "44568"
>
> I'm looking for a way to combine both variables so the result is:
>
> http://www.google.com/44568
>
Try this:

put theLink & "/" & subID into tURL
get tURL

BUT, you must make sure that this gives you a well-formed URL, so that 
is why I suggested putting the URL into the message box first and 
seeing if it worked in a browser.

Cheers,
Sarah



More information about the use-livecode mailing list