用pb上载 html源文件

用pb下载 html源文件
在pb的帮助文件中 有关于int对象的geturl获取指定URL的html源代码

Returns HTML for the specified URL.
servicereference.GetURL ( urlname, data )
但是不会用!主要是参数data不知道怎么用!??
有没有人指点我一下!
------解决方案--------------------
给你段代码

$PBExportHeader$n_cst_internet.sru  
  forward  
  global   type   n_cst_internet   from   internetresult  
  end   type  
  end   forward  
   
  global   type   n_cst_internet   from   internetresult  
  end   type  
  global   n_cst_internet   n_cst_internet  
   
  type   variables  
  string   is_data  
  end   variables  
  forward   prototypes  
  public   function   integer   internetdata   (blob   data)  
  end   prototypes  
   
  public   function   integer   internetdata   (blob   data);is_data   =   string(data)  
  return   1  
  end   function  
   
  on   n_cst_internet.create  
  call   super::create  
  TriggerEvent(   this,   "constructor"   )  
  end   on  
   
  on   n_cst_internet.destroy  
  TriggerEvent(   this,   "destructor"   )  
  call   super::destroy  
  end   on