The sysLib.bytes() system function returns the number of bytes in a named area of memory.
sysLib.bytes(source Variable in) returns (result INT)
result = sysLib.bytes(myVar);