Sign in Join
FPDoc Onlineexperiment

VarArrayDimCount function

In unit Variants

Return the number of dimensions of the array.

Declaration

pascal
function VarArrayDimCount(const A: Variant): LongInt

Arguments

A

The variant to check.

Function result

Number of array dimensions or zero if not array.

Description

VarArrayDimCount returns the number of dimensions of the array A. If A is not an array, zero is returned.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.