AW_CELL_SIZE

TYPE

Integer (read only)

DESCRIPTION

Specifies the size in bytes of the cell currently being updated.

NOTES

AW_CELL_SIZE is defined during the following events:

AW_EVENT_CELL_BEGIN
AW_EVENT_CELL_OBJECT
AW_EVENT_CELL_END

The property data contained within a single cell can vary in size from 0 to 4096 bytes.

AW_CELL_SIZE is provided for informational purposes only; it is not required for querying or changing property. A possible use of AW_CELL_SIZE could be for printing a status message to the user describing the size of the cell just queried.

For a complete description of examining and manipulating property, see Property.

EXAMPLE

/* list the sizes of some nearby cells */

void handle_cell_begin (void)
{
  printf ("Cell (%d, %d) contains %d bytes of data\n", 
    aw_int (AW_CELL_X), aw_int (AW_CELL_Z), aw_int (AW_CELL_SIZE));

}

aw_event_set (AW_EVENT_CELL_BEGIN, handle_cell_begin);
aw_query (0, 0, sequence);