Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!ncifcrf!lhc!adm!news From: C0361%UNIVSCVM.BITNET@ncsuvm.ncsu.edu ( Thomas Jenkins) Newsgroups: comp.lang.pascal Subject: Ignore last posting Message-ID: <23532@adm.BRL.MIL> Date: 6 Jun 90 00:44:25 GMT Sender: news@adm.BRL.MIL Lines: 15 Hello again! Paint my face red. I stepped through the program with TD again and found the problem. I was multiplying a type integer by 1024 and assiggning it to a type longint. The values below 31 were ok, but above became negative numbers. After type casting the integer to LONGINT every- thing is fine. Thanks, may have a new question tommorrow though *sigh*, tom THOMAS E. JENKINS, JR. PROGRAMMER, UNIVERSITY OF SOUTH CAROLINA BITNET, C0361 AT UNIVSCVM.BITNET