home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20243 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.2 KB  |  43 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sunic!kth.se!hemul.nada.kth.se!d88-jwa
  3. From: d88-jwa@hemul.nada.kth.se (Jon WΣtte)
  4. Subject: Re: What does TRY/CATCH/ENDTRY do?
  5. Message-ID: <1992Dec23.112122.7625@kth.se>
  6. Sender: usenet@kth.se (Usenet)
  7. Nntp-Posting-Host: hemul.nada.kth.se
  8. Organization: Royal Institute of Technology, Stockholm, Sweden
  9. References: <1h8402INN6io@iskut.ucs.ubc.ca>
  10. Date: Wed, 23 Dec 1992 11:21:22 GMT
  11. Lines: 30
  12.  
  13. In <1h8402INN6io@iskut.ucs.ubc.ca> guxu@physics.ubc.ca (Guang Xu) writes:
  14.  
  15. >The following code is found in Think C class Library:
  16. >TRY{
  17. >CATCH{
  18. >END TRY
  19.  
  20. No space there...
  21.  
  22. >What do they mean?
  23.  
  24.  
  25. An excellent description for this exception handling mechanism
  26. (which is good and should be used) is found in the TCL Reference
  27. manual that came with the compiler. You could also look the
  28. mechanism up in the source, which is recommended for deeper
  29. understanding.
  30.  
  31. Never ever do a return from withing a TRY/CATCH/ENDTRY, by
  32. the way.
  33.  
  34. Cheers,
  35.  
  36.                             / h+
  37.  
  38. -- 
  39.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  40.   "It was, in fact, cool as all get-out.  Fortunately it was a little
  41.    too late (historically speaking) to be groovy."
  42.                      -- Dennis Pelton
  43.