function VarArrayHighBound(const A: Variant; Dim: Integer): Integer
DescriptionVarArrayHighBound returns the high bound of the given dimension in the given variant array. The Dim parameter should be 1 for the leftmost dimension, 2 for the second leftmost dimension, and so on. An exception is raised if the variant given by A is not an array (EVariantInvalidArgError), or if the dimension specified by Dim does not exist (EVariantBadIndexError).what is the meaning of the parameter DIM?

解决方案 »

  1.   

    DIM表示取第几维。如果你传入的A是一维数组,那么设置DIM = 1;如果是多维的,设为你希望操作的维数序号。—————————————————————————————————
    宠辱不惊,看庭前花开花落,去留无意;毁誉由人,望天上云卷云舒,聚散任风。
    —————————————————————————————————
      

  2.   

    同意lxpbuaa(桂枝香在故国晚秋)的看法,还有varArrayLowBound ,等有时间发个离子给你