Allows you to retrieve the values of the options that have been set with the function WebSetOption().
WebAPI.bdh
WebGetOption( in  nOption : number, 
              out uValue  : union ): boolean; 
               	 true if successful
false otherwise
| Parameter | Description | 
|---|---|
| nOption | Refer to WebSetOption Function for a list of all available options. | 
| uValue | Variable that receives the value of the selected option. | 
dcltrans
  transaction TMain 
  var
    nSize: number;
  begin
    // enable link checking
    WebSetOption(WEB_OPT_LINK_CHECK, 1);
    WebPageUrl("http://purple/");
    //check history size
    WebGetOption(WEB_OPT_HISTORY_SIZE, nSize);
    Print(string(nSize));
  end TMain;