[fpc-devel] strings: a proposeal
Martin Schreiber
fpmse at bluewin.ch
Sun Feb 4 11:26:35 CET 2007
On Sunday 04 February 2007 10.57, Florian Klaempfl wrote:
> peter green schrieb:
> > if my understanding is correct this should allow all the widestrings
> > stuff to be moved to the library and people to implement thier own
> > string types as required (for example maybe a widestring counterpart
> > for some system that is similar to com)
>
> What's wrong with
>
> type
> tmywidestring = type array of widechar;
>
> ?
- Null based index.
- mywidestring:= 'abcde'; not possible.
- No terminating null character.
- Lower performance due to nulling memory by setlength.
- No unique check by assigning to character.
Martin
More information about the fpc-devel
mailing list