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.

Kind regards,
Rainer
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to