CloseEx Method

image\btn_example.gif

image\validfor_amv.gif

Applies To Objects

Session

Description

Closes the session.

Syntax

object.CloseEx [options]

Element

Application

Object

The Session object.

Options

An integer value. See comments below.

Comments

Use one of these integer values to determine when a user prompt appears, and whether a changed session configuration and layout are saved.

Use this value

To do this

1

Disconnect session without displaying a prompt

4

Save session while exiting

8

Exit session without saving

16

Prompt user to save session

You can combine options by adding their integer values together. However, three of these options (values 4, 8, and 16) are mutually exclusive. If more than one of these three options are used in a statement, EXTRA! will perform only one of them. The option to save the session (value 4) takes precedence, followed by the option to prompt the user (value 16). The option to exit without saving (value 8) has the lowest priority.