home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.lisp.mcl
- Path: sparky!uunet!ukma!wupost!zaphod.mps.ohio-state.edu!cs.utexas.edu!hellgate.utah.edu!hellgate!moore
- From: moore@cs.utah.edu (Tim Moore)
- Message-ID: <MOORE.92Aug30131851@defmacro.cs.utah.edu>
- Subject: trap return result wierdness
- Organization: University of Utah CS Dept
- Date: 30 Aug 92 13:18:51
- Lines: 17
-
- I'm new to MCL and somewhat new to Macintosh programming, so bear with me.
-
- I was surprised by this result:
- ? (%stack-block ((response 4)) (#_gestalt #$gestaltEasyAccessAttr
- response))
- 59985
-
- I was expecting a negative error number. Do I need to somehow coerce
- the result of the trap into a negative word?
-
- Also, is there higher level construct than %stack-block for allocating
- a word or longword of storage?
-
- --
- Tim Moore moore@cs.utah.edu {bellcore,hplabs}!utah-cs!moore
- "Wind in my hair - Shifting and drifting - Mechanical music - Adrenaline surge"
- - Rush
-