|
Navigation: Function Reference > General Utility Functions > sizeOf() sizeOf() |
Top Previous Next |
sizeOf( source: AnyType ) : Integer;
Returns the storage size, in bytes, of either a variable or type.
Parameters
source |
a variable or type |
var i: integer;
var j: integer;
j := sizeOf( i );
//j is now equal to 4 (i.e., 4 bytes)