GPC BUG: String comparison with less or greater than does not work
2 Jun
1999
2 Jun
'99
7:02 a.m.
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
9933
Age (days ago)
9933
Last active (days ago)
0 comments
1 participants
participants (1)
-
pdietrich@synstar.de