The sizeof( function calculates the amount of memory used by a field or a variable.
This function has one parameter:
name – is the name of the field or variable that you want to calculate the size of.
The function returns the number of bytes of memory used by the variable or field (not the entire field, but just the cell in the current record).
The sizeof( function can be used to decide if a numeric or date field is empty or not. The example below selects all the records with no price (not the same as records with a price of zero).
You can also quote the field or variable name (earlier versions of Panorama required this, but quoting is no longer a requirement).
|10.0||Updated||Carried over from Panorama 6.0, but no longer requires that the name parameter be quoted.|