Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!kth!draken!d88-bli From: d88-bli@nada.kth.se (Bo Lindbergh) Newsgroups: comp.sys.mac.programmer Subject: Bug in MPW Pascal 2.0.2 ??? Message-ID: <1270@draken.nada.kth.se> Date: 11 Jul 89 19:08:05 GMT Reply-To: d88-bli@nada.kth.se (Bo Lindbergh) Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 22 Consider the following Pascal program. program bug; var u : 0..65535; begin u:=60000; writeln(u); end. I can compile and link this without getting any rude messages, but when I run it, it prints -5536 when it should print 60000 . Does anybody out there know whether this is a) a previously known bug b) a previously unknown bug c) me demanding too much of the compiler? Thanks in advance, Bo Lindbergh