Jonas Maebe jonas at zeus.rug.ac.be
Thu Jun 20 17:01:11 CEST 2002

On donderdag, juni 20, 2002, at 04:35 , BigMatt19 at aol.com wrote:

>   I have been having this issue since 0.9...

Version 0.9 of the compiler?

> After heavy string manipulation on an ansistring it will crash the 
> program with a RTE216 (general protection fault).  I don't particularly 
> like pchars and i dislike them even more because it seems that when I 
> need to convert the ansistring to a pchar (@ansistr[1]) it messes up.  
> Well really when I need to null terminate the ansistring with: 
> ansist:=ansist+#0;

Ansistrings are always null-terminated. You can "convert" an ansistring 
to a pchar simply by doing pchar(ansistring_var).


More information about the fpc-pascal mailing list