[fpc-devel] dominant short strings in compiler source
Daniël Mantione
daniel.mantione at freepascal.org
Tue May 16 20:36:38 CEST 2006
Op Tue, 16 May 2006, schreef peter green:
>
> > s[0]=#255;
> > fillchar(s[1],255,'a');
> > s:=s+'a';
> >
> > ...will result in a string with 255 a's.
> thats what it does at the moment, i don't see how this precludes adding a
> compiler option to make doing this a run time error though (obviously
> disabled by default for compatibility with existing code) and then compiling
> the compiler with that option on.
Yes, it would be possible to build such a feature.
Daniël
More information about the fpc-devel
mailing list