如题

解决方案 »

  1.   

    high(数组名)  最大下标
    low(数组名)   最小下标
      

  2.   

    setlength(数组名) 定义长度
    length(数组名)    数组长度
      

  3.   

    Returns the number of characters in a string or elements in an array.UnitSystemCategorystring handling routinesfunction Length(S): Integer;DescriptionLength returns the number of characters actually used in the string or the number of elements in the array.For single-byte and multibyte strings, Length returns the number of bytes used by the string. For Unicode (WideString) strings, Length returns the number of bytes divided by two.S is a string- or array-valued expression.
      

  4.   

    var 
     s:array of string;
     a: integer;
    begin
      a := length(s);
    end;
      

  5.   

    length(数组名) 返回数组的长度