Sign in to follow this  
Followers 0
techshots

InetGet doesn't work using variable like this InetGet($S_FULL_URL , 'F:\hien\results\' & $S_BETWEEN1)

3 posts in this topic

#1 ·  Posted (edited)

Hi guys,

Goal:

I need to parse a file and grab some URL information and concatenate them to get a the complete URL

The following script is just a small part of a bigger script.

this line works:

$S_FULL_URL = "http://www.merriam-webster.com/help"

this doesn't but i need to use this format for my main script:

$S_FULL_URL = '"' & $S_URL_MAIN & $S_BETWEEN1 & '"'

Thanks a lot ahead of time

full script:

$S_BETWEEN1 = "help"

$S_URL_MAIN = "http://www.merriam-webster.com/"

$S_FULL_URL = "http://www.merriam-webster.com/help"

;$S_FULL_URL = '"' & $S_URL_MAIN & $S_BETWEEN1 & '"'

MsgBox(0,"s_full", $S_FULL_URL)

msgBox(0,"s_bet", $S_BETWEEN1)

InetGet($S_FULL_URL , 'F:\hien\results\' & $S_BETWEEN1)

Edited by techshots

Share this post


Link to post
Share on other sites



I think it was your speach marks in $S_FULL_URL

$S_BETWEEN1 = "help"

$S_URL_MAIN = "http://www.merriam-webster.com/"

;$S_FULL_URL = "http://www.merriam-webster.com/help"
$S_FULL_URL =  $S_URL_MAIN & $S_BETWEEN1 

MsgBox(0,"s_full", $S_FULL_URL)
msgBox(0,"s_bet", $S_BETWEEN1)

InetGet($S_FULL_URL , 'F:\hien\results\' & $S_BETWEEN1)

Share this post


Link to post
Share on other sites

Thanks a bunch.

that worked. learned a lot on this one.

I think it was your speach marks in $S_FULL_URL

$S_BETWEEN1 = "help"

$S_URL_MAIN = "http://www.merriam-webster.com/"

;$S_FULL_URL = "http://www.merriam-webster.com/help"
$S_FULL_URL =  $S_URL_MAIN & $S_BETWEEN1 

MsgBox(0,"s_full", $S_FULL_URL)
msgBox(0,"s_bet", $S_BETWEEN1)

InetGet($S_FULL_URL , 'F:\hien\results\' & $S_BETWEEN1)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0