Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. Language Reference > VarArrayDimCount Function

Name

VarArrayDimCount Function

Syntax

function VarArrayDimCount(const V: Variant): Integer;

Description

VarArrayDimCount returns the number of dimensions of a Variant array. If V is not a Variant array, the function returns zero.

VarArrayDimCount is a real function.

Example

var
  V: Variant;
begin
  V := VarArrayCreate([1, 12], varDouble);
  WriteLn(VarArrayDimCount(V)); // Writes 1

See Also

TVarArray Type, TVarArrayBound Type, VarArrayCreate Function, VarArrayHighBound Function, VarArrayLock Function, VarArrayLowBound Function, VarArrayOf Function, VarArrayRedim Procedure, VarArrayRef Function, VarArrayUnlock Function, Variant Type, VarIsArray Function, VarType Function

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint