[fpc-devel] Re: dominant short strings in compiler source

L505 fpc505 at z505.com
Sat May 20 19:13:10 CEST 2006


> Forgive me if I'm saying BS but it's been about 10 years since I
> programmed in TurboPascal (and used ShortStrings), but don't
> ShortStrings use the size they are declared with? And 255 is just
> default size (if no size is specified)?

The shortstring type does, but you can use a pointer to a shortstring which is sort of
like a pointer to a character array. You can allocate your own memory.




More information about the fpc-devel mailing list