Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!psuvax1!xavier!news From: jackiw@cs.swarthmore.edu (Nick Jackiw) Newsgroups: comp.sys.mac.programmer Subject: Pascal Inline Functions Message-ID: <7JNKXT1@xavier.swarthmore.edu> Date: 30 May 90 18:33:36 GMT Sender: news@xavier.swarthmore.edu (Usenet News) Organization: Visual Geometry Project, Swarthmore College, PA Lines: 29 A few questions about generic inline functions in Pascal: -Can they trash A0,A1/D0-D2? -Is there any way I can access global variables (i. e. get their address) inline $a9e3,@myVar,$32f0; doesn't make it past the syntax analyzer. -Failing the above, is there anyway I can link an external (i. e. MPW-written) function as *inline* (so that I'm not generating inter-segment jumps when I access the function in the middle of a tight loop)? All of this relates to the 32K array limit problem. I just want to write a little function, myArray(index:integer) which returns a ptr to an element of my array. --- Thankyouthankyouthankyouthankyou. -- jackiw@cs.swarthmore.edu Visual Geometry Project jackiw@swarthmr.bitnet Swarthmore, PA 19081-1989 Applelink: D3717 "A fool and his gold are soon partying."