|
whorn Wanderer
Joined: 04 May 2002 Posts: 52 Location: USA
|
Posted: Wed Jul 10, 2013 12:34 am
Passing Variable to #launch |
I'm trying to pass a URL variable to #launch. The variable is similar to:
http://url/file.php?person=Name&str=19&int=20
The problem is I need to pass it as if it were quoted:
"http://url/file.php?person=Name&str=19&int=20"
However is I do something like:
#launch "@URL"
Then it doesn't expand it, but I can't find any other way to pass the URL and the quotes so that the script I'm passing it through takes as a single parameter. They have to be double quotes as single quotes don't seem to work.
Any ideas? |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Jul 10, 2013 2:29 pm |
CMud looks for double quotes in pairs, and when it finds such a pair everything thing between them is regarded as literal. Try using ~".
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
whorn Wanderer
Joined: 04 May 2002 Posts: 52 Location: USA
|
Posted: Wed Jul 10, 2013 2:35 pm |
That worked great. I had just thought of that earlier before I read your post but just now got to try it out. Not sure why I didn't think of it before.
Thanks! |
|
|
|
|
|