getVar() 函数返回浏览器环境中指定变量的值。
getVar()
如果该变量不存在,此函数返回空字符串 ("")。
n = WMLBrowser.getVar(variable)
var a = WMLBrowser.getVar("weeks");
a = "52"