Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
skoobed
- Newbie
- Posts: 1
- Joined: Wed Dec 29, 2004 3:58 pm
Post
by skoobed » Wed Dec 29, 2004 4:08 pm
I am having trouble getting the xml server to recognize %x% in the HTTPRequest below. If I manually type in 1 or 2 or 3 in the code where %x% is I get the corresponding page number returned but when I try to use a variable it seems unable to recognize it and just gives me page 1. Any help would be much appreciated.
let>x=1
let>pub=phaidon
repeat>x
HTTPRequest>
http://xml.amazon.com/onca/xml3?PowerSe ... ,GET,,HTML
let>x=x+1
until>x,10
-
Guest
Post
by Guest » Wed Dec 29, 2004 7:18 pm
Nevermind. I ran the code above that I posted and it worked fine. There must be something else in the rest of my script that is conflicting with the variable.
-
Captive
- Macro Veteran
- Posts: 213
- Joined: Sun Oct 20, 2002 8:37 pm
- Location: Colorado, USA
Post
by Captive » Wed Dec 29, 2004 9:58 pm
In which case, search for other instances of the % character. You may have forgot to put % on the end of a variable, or used it in text somewhere else.