On Mon, 30 May 2005, Pascal Viandier wrote:
Hi,
During some tests I ran with gpc 2050331 to evaluate the gap between SUN and GNU Pascal, I discovered that the function TRIM() is broken when it is passed a packed array of char.
[..]
trim works fine with strings:
program trim; var s: string(20); begin s:='x '; writeln(s,s, length(s)); s:= trim(s); writeln(s,s, length(s)); end.
russ