Length64 (open)

Returns the length of an variable as an integer64.

Syntax

// Core function, no LOADLIB necessary

INTEGER64 FUNCTION Length64(VARIANT obj)

Parameters

VARIANT obj

The variable whose length should be measured.

Return value

INTEGER64

The function returns the number of bytes in the STRING, number of elements in the ARRAY or the length of a BLOB in bytes.

Description

This function returns the length of an variable. It supports all the types the Length function does, but is mostly useful for Blobs larger than 2GB

Examples

INTEGER64 dvdlength := Length64(GetDiskResource("/tmp/centos-6.iso"));