或者说最多可以存放多少个字符?

解决方案 »

  1.   

    shortstring 256widestring 4g
      

  2.   

    String types 
    Type          Maximum length Memory required Used for
    ShortString 255 characters 2 to 256 bytes backward compatibility
    AnsiString ~2^31 characters 4 bytes to 2GB 8-bit (ANSI)               characters,DBCS ANSI, MBCS ANSI, etc.
    WideString ~2^30 characters 4 bytes to 2GB Unicode characters; multi-user servers and multi-language applications
      

  3.   

    啊!俺看錯題了、不好意思...
    借此宝地、俺想問問:TList,TStringList最大可用长度是多少?