Passing Arguments to Monkey App in HTML 5 ?
Monkey Targets Forums/HTML5/Passing Arguments to Monkey App in HTML 5 ?
| ||
Hello Again, i have a question ... how i can pass arguments to my HTML 5 App like this : Monkeygame.html?arg1=argument&arg2=argument2 Sorry when this is a Noob question but im dont find any solution on this board.... Greetz from Germany Darky |
| ||
A small hack to return the URL query, can be done cleaner with an external javascript lib. Oh, and don't use () after URLQuery. Treat it as a variable.#If TARGET="html5" Extern Global URLQuery = "window.location.search" Public #Endif Function Main() Local string_to_parse:String = URLQuery Print "parse this for values: "+string_to_parse End |