sizeof()

Description:

Calculate the memory space an object occupies.

Syntax:

sizeof(x)

Note:

The function calculates the memory space an object occupies. The unit of the returned value is byte (B). Start esProc designer under installation directory\esProc\bin\ startup.bat directory to execute the function; the start of JVM will need loading proxy class.

Parameters:

x

An object

Return value:

A numeric value

Example:

 

A

 

1

=demo.cursor("select * from EMPLOYEE order by STATE")

Return a cursor object

2

=sizeof(A1)

Calculate the memory space the cursor object occupies