STATEMENT:  export

export name1, name2, ..., nameN

export *

The export statement allows a signed script to provide properties, functions and objects to other signed or unsigned scripts. Usually a signed script can only pass information to another script signed by the same principals but this restriction can be overcome by the use of the export statement by the originating script and the accompanying import statement by the receiving script. The following code makes the 'wine' and 'beer' properties of the 'drinks' object available to any script wanting to import them (compare the import statement):

Code:
export drinks.beer, drinks.wine;

Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information