Struct Object

The Struct object holds Key - Value pairs. This object returns from the Globals Property (Scripting Object).

The Struct object is a static object in the context of a process space. Therefore, any in-process script or form that accesses the Struct object is accessing the same object. This means that one script can write data to the object and a different script can read the same data.

The Globals Property (Scripting Object) works only in the current process space.

Table 1. Struct Object Properties

Property

Description

Count Property (Struct Object)Returns the number of items in the struct object.
Data Property (Struct Object)Sets or returns an object.
Item Property (Struct Object)Sets or returns a value based on a name/key.
Keys Property (Struct Object)Returns the collection of names/keys.