home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7537 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.5 KB  |  42 lines

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