[fpc-pascal] more questions on storage
Marco van de Voort
marcov at stack.nl
Wed Sep 26 11:34:00 CEST 2007
> > > set up?
> > Longstrings are not working correctly. You should use ansistrings or
> > shortstrings.
> Okay, good to know. Besides I'm using fpc 2.0.4, what is it that's not
> And back to the original question: how is the memory layout using
> AnsiString then?
The field is a pointer to the ansistring. Which is basically a pchar with a
TAnsirec record on negative offset of the ptr value.
More information about the fpc-pascal