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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to