Xbasic

BLOB.SIZE Function

Syntax

Size as N = size()

Description

Return the number of bytes in the blob.

Discussion

The .SIZE() method returns the Size of a blob in bytes.

The following example shows the size as 6 because it was initialized from a six character string ("Alpha" contains an invisible NULL terminating character).

dim bb as B
bb = "Alpha"
? bb.size()
= 6.000000

See Also