Example of Using a BLOB Descriptor

The following example creates a blobDescriptor object that describes the Rectangle object:

var bd = new blobDescriptor();

bd.width  = UWORD32;
bd.height = UWORD32;

In this example, you can use Siebel eScript to pass the bd variable as a blobDescriptor argument to a function that requires a blob descriptor. The values set for the properties depend on what the receiving function expects. In this example the function that Siebel CRM calls expects to receive an object that includes two 32-bit words or data values. If you write a BLOB descriptor for a function that expects to receive an object that contains two 16-bit words, then set the value for the two properties to UWORD16.