bytes()

The sysLib.bytes() system function returns the number of bytes in a named area of memory.

Syntax

  sysLib.bytes(source Variable in)
  returns (result INT)
source
An array, variable, record, form, or other named area of storage.
result
The number of bytes in source. If source is an array, result is the number of bytes in one element.

Example()

  result = sysLib.bytes(myVar);

Compatibility

Table 1. Compatibility considerations for sysLib.bytes
Platform Issue
JavaScript generation sysLib.bytes() is not supported.
SQL The function returns the number of bytes in the record, including the extra bytes; for more information see "SQLRecord."

Feedback