WML Script脚本程序设计[35]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

例如,http://www.host.com/script下有我们需要的外部文件,名为OtherScript,所以我们可使用use url来指定该文件:

use url OtherScript"http://www.host.com/script"

这一外部文件中含有我们需要调用的外部函数testme,则可采用外部文件名#外部函数(参数列表)的形式来调用它:

OtherScript#testme(param+1);

这个例子完整的写出来,就是下面的程序:

use url OtherScript"http://www.host.com/script"

function test(param){

return OtherScript#testme(param+1);

};

库函数

本文关键:WML Script脚本程序设计
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top