[Contents] [Previous] [Next] [Index]

export

Allows a signed script to provide properties, functions, and objects to other signed or unsigned scripts.

Implemented in

Navigator 4.0, Netscape Server 3.0

Syntax

export name1, name2, ..., nameN
export *

Parameters

nameN
List of properties, functions, and objects to be exported.

*
Exports all properties, functions, and objects from the script.

Description

Typically, information in a signed script is available only to scripts signed by the same principals. By exporting properties, functions, or objects, a signed script makes this information available to any script (signed or unsigned). The receiving script uses the companion import statement to access the information.

See also

import


[Contents] [Previous] [Next] [Index]

Last Updated: 10/31/97 12:29:59


Copyright © 1997 Netscape Communications Corporation