Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!src.honeywell.com!msi.umn.edu!noc.MR.NET!uc!shamash!mpe From: mpe@shamash.cdc.com (Mike Ebsen) Newsgroups: comp.lang.pascal Subject: Help Me!!! What's wrong with this simple problem? Message-ID: <28893@shamash.cdc.com> Date: 28 Nov 90 02:46:36 GMT References: <527@shum.UUCP> <19956@oolong.la.locus.com> Reply-To: mpe@shamash.UUCP (Mike Ebsen) Organization: Control Data Corporation, Arden Hills, MN Lines: 14 What's wrong with this problem in Turbo Pascal 5.0... Program test; var i : integer; j : word; begin j:=3; i:=j-10; writeln(j,' ',i); end. My compiler tells me that the assignment of -7 into i (an integer) is an error.