Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!radius!lemke From: lemke@radius.com (Steve Lemke) Newsgroups: comp.sys.mac.programmer Subject: Re: Turbo Pascal & PopUp Menus Message-ID: <1363@radius.com> Date: 8 Nov 90 21:01:02 GMT References: <414@ub.d.umn.edu> Lines: 56 mfort@ub.d.umn.edu (Michael Fort) writes: }I have noticed that Turbo Pascal 1.0 only supports the toolbox calls from the }first three Inside Macintosh volumes. Correct me, please, if I am wrong. No, that's probably right. Borland did, however, release ONE upgrade to Turbo Pascal, (1.1?) that provided minimal support for the Mac SE and II. }The other day, I noticed a line in some source I never saw before. It read: } }Procedure Debugger; }Inline $ff69; <-- Trap number probably different. } }So I figured that this is the external link to the outside world for Toolbox }calls. I was hoping that someone could tell me if this is right. Actually, my guess would be that that was simply inline code to call the trap that activates the debugger (MacsBug, etc.). Thus if you have a line in your code that reads "Debugger;" you will drop into MacsBug - handy for debugging a certain part of code that seems to have a problem. }More important, If I set up the PopupMenuSelect function, I am unsuccessful. }When I call this routine the way that Inside Volume 5 suggests, the function }seems to do nothing as though it were a return function. Sorry that I can't }remember the page number, however it was the pseudo-code example in the Menu }Manager section. Well, you really should get the upgrade - if they still sell it it will cost you about $15. However, and I'm sure just about any other Mac programmers would agree, your $15 would be MUCH better spent towards the purchase of THINK Pascal. Just about anythink you might like about Turbo is probably also a feature in THINK Pascal (and probably better). In addition, Symantec actively supports THINK Pascal; Borland does NOT actively support Turbo Pascal. THINK Pascal is current, and will probably soon even work in System 7.0b1. Don't hold your breath with Turbo - they haven't done anything with it in over two years. }As I don't have any other compilers, I need it to work on Turbo! Well, I still stick to my main point - you should upgrade. I feel qualified to recommend this as I spent my hard-earned cash (while finishing college) on Turbo Pascal (big mistake) and the upgrade, too (bigger mistake), and finally on THINK Pascal (best programming environment I ever bought!). I've since upgraded from THINK Pascal 2.0 to 3.0, and to 3.01 - Symantec releases small updates periodically to fix little things, but (to date) are free and are widely distributed electronically. Which system would YOU rather program in? }Thanks ahead of time! No problem. }Mike Fort }mfort@ub.d.umn.edu, OR mfort@cpe.d.umn.edu -- ----- Steve Lemke, Engineering Quality Assurance, Radius Inc., San Jose ----- ----- Reply to: lemke@radius.com (Note: NEW domain-style address!!) -----