Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!shelby!portia!jessica.Stanford.EDU!rick From: rick@jessica.Stanford.EDU (Rick Wong) Newsgroups: comp.sys.mac.programmer Subject: MacApp and THINK Pascal 3.0 Keywords: MacApp, THINK Pascal Message-ID: <10137@portia.Stanford.EDU> Date: 13 Mar 90 23:07:29 GMT Sender: USENET News System Reply-To: rick@jessica.Stanford.EDU (Rick Wong) Organization: Stanford University Lines: 42 Some of the features I've seen mentioned about the new version of THINK Pascal make it sound extremely attractive for MacApp development. I've still, however, got a few questions: 1. Does it REALLY allow jump tables larger than 32K (4091 entries)? I've been kludging around this problem for well over a year, now -- it's nice to see SOMEONE finally addressing it. 2. Can I call routines written in other languages (i.e., C, Assembler) from THINK Pascal? In particular, does THINK Pascal have a "C" directive so I can call functions that obey C calling conventions? I don't mind if the functions have to be previously compiled (by MPW) into .o files. 3. Can I call THINK Pascal methods from other languages? In MPW Assembler, for instance, I can directly call a particular method belonging to a particular class by saying something like: jmp TObject_Free In MPW Assembler, I think it's also possible to say something like "jmp TObject$Free" to let the method dispatcher figure out which subclass should handle the call. 4. How is segmentation handled? Does THINK Pascal handle segmentation directives in .o files? How about $S directives in MPW Pascal source files? 5. Are MPW Pascal's other compiler directives supported? I'm most concerned about the conditional compilation ($ifc, $elsec, $endc) and "handle warning" directives ($h-, $h+, $push, $pop). 6. Does 3.0 have better resource-handling tools than RMaker, or will I have to use MPW's Rez and Derez? I'd greatly appreciate any further information about MacApp and THINK Pascal 3.0. Thanks, Rick Wong rick@jessica.stanford.edu