home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / lisp / mcl / 1653 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.8 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!think.com!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!jbk@world.std.com
  2. From: jbk@world.std.com (Jeffrey B Kane)
  3. Newsgroups: comp.lang.lisp.mcl
  4. Subject: Re: rlet keyword documentation
  5. Message-ID: <199211211839.AA08803@world.std.com>
  6. Date: 21 Nov 92 18:39:17 GMT
  7. Sender: info-mcl-request@cambridge.apple.com
  8. Lines: 52
  9. Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
  10.  
  11.  
  12. > I was wondering where the documentation was for all the possible keywords
  13. > that can be used with rlet.  The documentation under rlet doesn't list them
  14. > and since it is a compiled macro, there is no way to look at the source and
  15. > see what values it tests for.
  16.  
  17.  
  18. Well at the risk of talking to myself, I found the answer and wanted to post it
  19. in case it wasn't obvious to anyone else.  It turns our that there are two global
  20. variables:
  21.  
  22.                      *record-types*
  23.  
  24.                             and
  25.  
  26.                      *mactypes*
  27.  
  28.  which return:
  29.  
  30. (:GDEVICE :PICTURE :PENSTATE :WINDOWRECORD :GRAFPORT 
  31. :PATTERN :BITMAP :RECT)
  32.  
  33. and 
  34.  
  35. (:INVALID-TYPE :STRING :OSTYPE :POINT :TEHANDLE :HANDLE 
  36. :QELEMPTR :ARRAY :POINTER :UNSIGNED-LONGINT :LONGINT 
  37. :SIGNED-LONGINT :LONG :UNSIGNED-LONG :SIGNED-LONG 
  38. :UNSIGNED-WORD :WORD :SIGNED-WORD :UNSIGNED-SHORT 
  39. :SHORT :SIGNED-SHORT :INTEGER :UNSIGNED-INTEGER 
  40. :SIGNED-INTEGER :BYTE :UNSIGNED-BYTE :SIGNED-BYTE 
  41. :CHARACTER :BOOLEAN)
  42.  
  43. respectively.
  44.  
  45. There should probably be a cross reference to these variables in some of the 
  46. sections that allocate records, such as rlet and %stackblock so the new user
  47. has a place to begin.
  48.  
  49.              Jeffrey
  50.  
  51.  
  52.  
  53. ======================================
  54. Jeffrey Kane, MD
  55. Kane Biomedical Systems
  56. Boston, MA
  57.  
  58. Internet    jbk@world.std.com
  59. Compuserve  74206,640
  60. AppleLink   D0738
  61.  
  62. [Don't take life too seriously... it's not like anyone gets out of it alive.]
  63.