CloseBrowser

Description:
Close an occurrence of the Web Browser.

Format:
CloseBrowser (integer Session ID (optional))

Parameters:

integer

Session ID (optional)

Occurrence number of the Browser to close.
First Browser occurrence is 1
Default value is 1

Return Value:

Boolean

Success Ind

Success Indicator.
TRUE – Specified or default Browser was closed
FALSE – Browser was not closed

Usage:
Use this function to close an occurrence of an open Browser. Once an occurrence of a Browser is closed, no other functions may be executed against it. . The Session ID that was previously assigned to the closed Browser occurrence is now available to be used by a new Browser occurrence.

Example 1:
Close the default, first occurrence of the Browser.

CloseBrowser ()

Example 2:
Close the second and third occurences of the Browser.

CloseBrowser (2)
CloseBrowser (3)

Example 3:
Open and close the same occurrence of a Browser.

integer intSessNum

intSessNum = OpenBrowser (TRUE)
CloseBrowser (intSessNum)

Hosted by www.Geocities.ws

1