home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22143 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.7 KB

  1. Path: sparky!uunet!haven.umd.edu!news.umbc.edu!comb1.comb.umd.edu!stern
  2. From: stern@comb1.comb.umd.edu (Brian Stern; COMB)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: I hate THINK Pascal...
  5. Date: 25 Jan 1993 14:13 EST
  6. Organization: University of Maryland, Center of Marine Biotechnology
  7. Lines: 28
  8. Distribution: world
  9. Message-ID: <25JAN199314131127@comb1.comb.umd.edu>
  10. References: <1993Jan24.005729.13045@fcom.cc.utah.edu>
  11. NNTP-Posting-Host: comb1.comb.umd.edu
  12. News-Software: VAX/VMS VNEWS 1.41    
  13.  
  14. In article <1993Jan24.005729.13045@fcom.cc.utah.edu>, Dmitry Boldyrev <dmitry@chemistry.chem.utah.edu> writes...
  15. >Hello,
  16. >I really hate THINK Pascal now!! :( Because, whatever I do,
  17. >all couse problems..
  18. >I'm working on Molecular Designer package and would like to write Floating
  19. >palettes. Problem with Events, partcicularly with App4Evt, made me CRAZY!!
  20. >If you have enought time, please take a look on this fragment of my code:
  21. code deleted
  22.  
  23. This is a bug in Think Pascal.
  24. In my experience Think Pascal NEVER passes suspend/resume events to an
  25. application running in the Think environment :-(
  26. However, if you build and SaveAs a double-clickable application, your compiled
  27. program will receive these events as you would expect them to :-)
  28. Obviously you can't use source level debugging for your suspend/resume
  29. processing, but it shouldn't be that difficult to debug that code anyway.
  30. As I'm writing this it occurs to me that Pascal might not trap the supend/resume
  31. events if you have debug off for the unit containing your event loop. However,
  32. if you are switching in or out of your program Pascal has to process these
  33. events also. It ought to pass them to your program but it doesn't.
  34. Hope this helps,
  35.  
  36. BrianS
  37.  
  38. Stern@mbimail.umd.edu
  39.  
  40.  
  41.