gillies@p.cs.uiuc.edu (01/16/90)
/* Written 2:51 pm Jan 12, 1990 by beard@ux1.lbl.gov */ #To access low-memory globals from C, you would say # ##define CurrentA5 (*(long *)0x904) A cleaner way to do low memory globals from THINK C is the ':' notation. extern Ptr CurrentA5 : 0x904; This method gives you do type checking if you want. /*****/ Actually, I can't see the benefit of the THINK C notation, except to make your code non-portable (to other Mac C compilers). It seems like #define CurrentA5 (*(Ptr)0x904) Would give you the type-checking you need. I'm not sure this extension is an asset in Lightspeed C.