I have a html file I'm trying to open with a button but not having much luck? see what I have wrong?
Code:Web.LoadURL("Web1", "Docs\links.html");
Professional Software Development Tools
I have a html file I'm trying to open with a button but not having much luck? see what I have wrong?
Code:Web.LoadURL("Web1", "Docs\links.html");
I got it never mind. need \\ not just \
I often did the same mistake, forgotting to escape the slash. Maybe this forum has an escape required list somewhere.Originally Posted by bobbie
Newbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> FB: facebook.com/GuideToWealth
----> Content Development Blog: www.AZMAN.asia
What is funny if you use the quick link stuff to load a page in the the web browser it don't show the \\ just the reg links to the file .
Know what I mean?
Bobbie,Originally Posted by bobbie
I was also wondering whats with the \\.
Someone told me the reason is to ESCAPE the slash. ESCAPE? What ESCAPE??? hehe ... I thought he was kidding. Nope... he wasn't.
The first "\" actually tells the AMS Scripting Engine to leave alone ( to ESCAPE ) the next character. Well, I'd call it SKIP. So far, I did some SKIPPING like:
- \r telling AMS it's a Return and not an r
- \n telling AMS it's a New Line and not an n
- \" telling the Engine to treat it as a " and not the end of a variable
- \\ was the oddest but tells the engine it's a slash and not an ESCAPE. heehe ...Escape the Escaper.
I saw someone put up a \t for TAB. I think there are other characters that can SKIP.
Newbie Examples
------> AMS 7.5 : amstudio.azman.info
----> AMS 6 & 5: www.azman.info/ams/
----> FB: facebook.com/GuideToWealth
----> Content Development Blog: www.AZMAN.asia
Yep exactly. All scripting languages have the same thing although implementation may vary.![]()
Some php scripts you can use \\ for file paths when they use unix paths / on a windows server .