[fpc-pascal] Version 2.1.4
Florian Klaempfl
florian at freepascal.org
Sat Jun 2 19:54:31 CEST 2007
Rainer Stratmann schrieb:
> Hello,
>
> 1.
>
> var s:string;
> ...
> s[1]:='#'; --> causes an access violation
>
> 2.
>
> Why is it no more possible to assign the length index s[0] in a string?
> I find that is too much security to supress that.
> It is cutting responsibility from the programmers.
It seems more to me that you're using objfpc or delphi mode so you get
ansistrings?
More information about the fpc-pascal
mailing list