Hello,
I found the following bug in the Beta version of GPC.
Best regards, Peter Dietrich -------------------- GPC-Version (gpc -v):
Reading specs from C:\usr\local\lib\gcc-lib\i386-mingw32\2.8.1\specs gpc version 19990118, based on gcc-2.8.1
System-Version:
Windows NT 4.0 on i386
Problem description:
GPC cannot compare string with < or >. The following program shows this fact:
program test (output);
var str1 : string[10] := 'MODULE'; str2 : string[10] := 'LABEL';
begin writeln ('str1=str2: ', str1=str2); writeln ('str1<str2: ', str1<str2); writeln ('str1>str2: ', str1>str2); end.
The output of this program is:
str1=str2: False str1<str2: False str1>str2: False