The following did not work in a rev stack.
put url "http://tbn1.google.com/images?q=tbn:M0p ... -500kr.jpg" into img "preview"
However,
pasting the same url into a browser shows the image correctly.
Can any tell me what might be going on here?
Problem with "put URL" compared to the url in a Br
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
It works for me if I do:
- I almost always have to wrap http urls in parentheses (Win XP here)
Code: Select all
put url ("http://tbn1.google.com/images?q=tbn:M0p1AuMrnvQ6lM:http://z.about.com/d/mustangs/1/0/t/4/-/-/2008-mustang-500kr.jpg") into img "preview"
Yeah- I think the documentation is misleading here. I think URL should be documented as a function rather than a keyword and the parentheses should be documented as required, or at least treated at the same level as quotes around literal strings. The fact that you can sometimes get by without parens in url parameters is, IMO, a side-effect of lax syntax parsing.