[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trap return result wierdness
- To: info-mcl
- Subject: trap return result wierdness
- From: moore@cs.utah.edu (Tim Moore)
- Date: 30 Aug 92 20:18:51 GMT
- Newsgroups: comp.lang.lisp.mcl
- Organization: University of Utah CS Dept
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