takashi yamanoue wrote:
I'm Takashi Yamanoue, in Japan. (http://www.tobata.isc.kyutech.ac.jp/~yamanoue) (http://www.tobata.isc.kyutech.ac.jp/~yamanoue/researches/complang.html)
The output of the following program seems strange. Is it the specification? or a bug?
I've searched the archives of this list, and I've found out a similar bug in the Borland Pascal Format, and I've also found out the article which said that it was fixed.
I've updated the gcc and gpc. However, the following phenomenon was not fixed.
This seems to be a new bug, thanks for the report (takashi1.pas).
For some strange reason, GPC does the wrong comparisons (words in the first case, and bytes in the second one, while in both cases it should simply do string comparisons).
Frank