[fpc-pascal]ansistrings

Ivan Montes Drslump at btopenworld.com
Fri Oct 26 02:46:22 CEST 2001


Hi everybody,

I just discover ansi-strings (long strings) a couple of months ago, and I'm
very happy with them. They help me a lot in everything I do.
But I found that if I access the last character of it, like
s[length(s)]:='A'; sometimes I get an access violation. Why is that?
If it's because I can't do that due to the internals of ansistrings, how
should I do to change the last character of the string?

thanks, Ivan







More information about the fpc-pascal mailing list