[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Pointers
- To: info-mcl@cambridge.apple.com
- Subject: Pointers
- From: Rick Duffy <rick@maxai.den.mmc.com>
- Date: Mon, 27 Apr 92 10:50:00 edt
I'm new with the MCL environment. I'm learning about traps and
calling toolbox functions. Many times in the manuals arguments are
referred to (in the pascal examples) as starting with an at-sign (@).
I suppose this means a pointer.
(that is, a pointer to the variable that follows).
Ok. If I have a Lisp symbol or string, and I want to pass it
to a function that requires a pointer instead, do I have to do
stuff like call a routine to return that object's address?
What is the way, then, to get the address of something?
(My specific example is that I'm trying to Post a high level
event, and I'm having trouble with the recvid field).
(I'm starting to learn about Records too, but I still don't
seem to be able to figure this out).
Thanks for any help!
rick@maxai.den.mmc.com