On 21 Oct 2011, at 08:25, Roberto P. wrote:

> During compilation, by statically checking the indices used to access the
> string, the compiler could fire a warning (or error?) if a  string[0] is
> found.

The compiler already does that (except for shortstrings, where string[0] is 
valid).


Jonas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to