Show quoted text 20 lines
Date:�Fri,�5�Jul�2002�10:28:35�+0200�(W.�Europe�Daylight�Time)
From:�Michael�Van�Canneyt�
Subject:�Re:�[fpc-pascal]Problem�with�ANSI-Strings
On�Fri,�5�Jul�2002,�Philipp�Lucas�wrote:
>�PROGRAM�t;
>
>�FUNCTION�STR_neu(w:WORD):STRING;
>���VAR�d:STRING;
>���BEGIN
>�����STR(w,d);
>�����exit(d);
This�line�is�the�problem.�It's�a�compiler�bug�!
replace�this�with
��str_neu:=d;
and�it�will�work�fine.
To�the�compiler�guys:�It's�really�a�bug,�it�should�be�fixed�somehow.
There�is�an�access�violation�when�using�the�exit()�with�ansistrings.
Thank�you�for�this�information.
Is�there�an�easy�fix�that�I�can�apply�to�the�compiler�code�to�remedy� this?�
Philipp Lucas
