home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!casbah.acns.nwu.edu!delusion
- From: delusion@casbah.acns.nwu.edu (Albert Schmezer)
- Subject: Turbo Pascal V6.0 BUG?! Fixed?
- Message-ID: <1992Dec17.004658.26894@news.acns.nwu.edu>
- Sender: usenet@news.acns.nwu.edu (Usenet on news.acns)
- Nntp-Posting-Host: unseen1.acns.nwu.edu
- Organization: Northwestern University, Evanston Illinois.
- References: <1992Dec16.182311.45706@kuhub.cc.ukans.edu>
- Date: Thu, 17 Dec 1992 00:46:58 GMT
- Lines: 29
-
- Hello all. I seem to have uncovered some bugs in Turbo Pascal V6.0
- that I hope some people could shed some light on. Are these internal bugs? Can
- they be fixed? Are they fixed in TP 7.0 or BP 7.0?
-
- 1.) Try the following simple program. It seems to me that you can use
- longints and integers together for multiplication. Why?!
-
- var i: integer;
- l: longint;
-
- begin
- i:=400; l:=i*104;
- end.
-
- It will return a NEGATIVE number! Switch the i variable to a longint,
- and it will work fine! Why?! The longint should be able to handle this
- multiplication. It MUST be a bug with cross variable type multiplication. Of
- course, l:=400*104 works perfectly. But I would like to be able to multiply
- integers and longints together..
-
- 2.) ALL the Turbo products (Turbo Pascal V5.0, 6.0, Turbo C, and Turbo
- C++ V2.0) refuse to work with my EMS driver (ACCEMM.SYS). They lock up
- immediately upon bootup. WHY?! Hmmmm!
-
- I appreciate any help possible! Have a merry Christmas or Channukah or
- any other holiday, and a great day!
- <<delusion
-
-
-