TweetFollow Us on Twitter

Feb 89 Letters
Volume Number:5
Issue Number:2
Column Tag:Letters

Letters

By David E. Smith, Editor & Publisher, MacTutor

Invention Software Programmer’s Extender

The Resolution !!!

Dale C. Quantz

The following letter is the response to a letter published in the October 1988 issue of MacTutor. In this letter a Programmer’s Extender user (Warren Michelsen) listed a number of problems he was having with his Programmer’s Extender libraries as well as our response to his inquiries. Invention Software does acknowledge that there was a problem with the resizing of a TextEdit’s destination rectangle when using either the zoom or grow boxes. This bug ONLY occurs in the LSP version of the Extender Volume 1. The bug was inadvertently introduced when a user requested code that would resize a TextEdit’s destRect during a zoom or grow operation. Prior to this we had told other users to implement this feature in the UserHooks (named: UserGrow & UserZoom). After sending a piece of code to a user who was having trouble implementing the above mentioned functionality, the code was accidentally integrated into the LSP release versions. Up until Mr. Michelsen’s letter (he did not telephone us) we were unaware of the problem. We attempted to reproduce his reported bug and were unable to do so. We had not been aware of the problem and/or could not produce the desired affect. We then informed Mr. Michelson that we could not reproduce the bug. It was not until Mr. Michelsen’s second correspondence that we were able to reproduce the problem. The bug appears to have become more pronounced in the later system versions (most likely because of the numerous bug fixes to TextEdit).

In any case, we have completely rewritten the text editing in the Pascal Extender versions and have sent Mr. Michelsen a version of the Extender with the latest code. If any other users are encountering similar problems with the Extender’s implementation of TextEdit (apart from the 32,000 character limit which is inherent in TextEdit) please contact our technical support staff between the hours of 8:30am - 5:00pm EST.

Update to Event Simulator

Matthew Snyder

Fairfield, CA

Another weekend, another thought about Event Simulator. This thought is a minor one, though, and I’m not even sure if it’s significant enough to merit a change. [This letter refers to a program published in the January 1989 issue of MacTutor. -Ed]

The change would be a minor one, too. Right before the heading How the Demo Works and right after that long paragraph about memory, I would add this paragraph:

"I could have avoided the memory problem by using PPostEvent instead of Enqueue. PPostEvent takes an event type and message as arguments, and creates an event using current mouse position, modifier keys, etc., posts the event, and returns to you a pointer to the new queue element. You can then use that pointer to modify the event to your liking. However, I found this method unsatisfactory for a general library because the size of the Event Queue Buffer limits you to 20 consecutive events."

I was trying to imagine what type of critical letters I could expect from readers, and it occurred to me that anyone that’s done this kind of thing before has probably used PPostEvent. “Why didn’t you use PPostEvent? Don’t you have a copy of Inside Mac IV? It’s easy. Here’s how ” The disclaimer above explains why I didn’t use PPostEvent.

[Thank you, Matthew, for your update. Matthew is one of the more concientuous writers, always thinking about his article, even after it has been submitted. Unfortunately, this letter came to me just as I was proofing the final proofs of the journal. -KC]

MacFortran/020 Math Library

Tatsuhito Koya

Evanston, IL

Being a student, I have been on a tight budget lately. I had to terminate most of my magazine subscriptions, but I have decided to keep MacUser, Computer Shopper, and MacTutor. These three magazines have been the main sources of information about what is happening in the world of personal computing--the world of the Macintosh, specifically.

I am not a computer science major; hence, it is difficult for me to find time to develop my programming skill, yet I do have opportunities to use computers for engineering computations. I do most of my computations on the main frame, but I would really like to use my Mac as well. I have MacFortran/020, but the problem is that I cannot find a math library for it anywhere. Moreover, Edit text editor is not one of the best program editors around. I would really appreciate it if you could recommend me a good math library (modifiable preferred) and a program editor.

[ I called Absoft to check on the math library; unfortunately, they knew of none, but they seemed to like the idea; maybe our readers know of a library out there, or will create one. -KC]

[As for a text editor, I would suggest a new Fortran specific editor called FREDITOR 1.0 from Battelle Pacific Northwest Laboratories, PO Box 999, Richland, WA 99352. Our good friend Bill Rausch wrote the manual. The editor was written in Lishgtspeed C and used the LS CAPPS Editor construction kit. The product is distributed by TechAlliance. Look for it in MacTutor's Mail Order Store real soon now. -Ed]

IAC Driver

Lawrence D’Oliveiro

Hamilton, New Zealand

I read the articles on the IAC driver by Frank Alviani and Paul Snively with great interest. The Mac certainly needs a capability like this. However, a couple of questions.

First of all, why does the driver need to save multiple editions of a source extent? It only returns the latest one on any ReadData call anyway.

Secondly, it would be useful to allow desk accessories to take advantage of IAC. And of course, you don’t need MultiFinder to run desk accessories. The check for the presence of MultiFinder is neat, but is it really necessay?

As always, keep up the good work, and let’s have even more thought provoking articles in MacTutor! [We’ll do our best. -ed]

[This letter gave me the excuse to call and talk to Frank Alviani. Frank, if you ever get the chance, is one of the nicest people to talk to, and I enjoyed the opportunity to call and see how things were going on his new house (not done as of this writing).

Frank explained to me that although the main purpose of the driver is to give the most recent extent to the clients, there are a couple reasons to keep the old extents. The first is to give the client the ability to call older extents. This could be used for perhaps a “hot” undo feature.

The second reason is useful for database type applications where each extent may want to be saved for future use. Lengthy file operations may bring the client back in time to find himself several extent versions behind the current version.

Your second question was a good one, also. Desk accessories have the ability of file I/O. Also the driver itself makes ordinary calls. Therefore it is conceivable that the driver could be modified to work with desk accessories. The call to initialize the driver could say basically, “I don’t care if MultiFinder is around.” - KC]

Animated Watch Cursor Typo

Andy O’Brien

Keep up the great work on a fine magazine. Even the letters contain little tidbits of information. I especially enjoyed David Stoops’ letter in the December ’88 issue. After keying it in (and getting the proper LSP error message). I Realized that the InitWatch procedure in the WatchUtilities unit had a typo in it. GetCursor was being called as a procedure when we all know it is a function. Here is what the procedure should look like. Take care and continued success

porcedure InitWatch;
 var
 watchcount : integer;
begin
 WatchList := acurHandle(GetResource(‘acur’, 0));
 with WatchList^^ do
 begin
 for watchcount := 1 to 8 do
 Watch[watchcount] := GetCursor(HiWord(longint(Watch[watchcount])));
 whichWatch := 0;
 end;
end;

Bookstore Blues?

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

OmniOutliner 4.6 - Organize your ideas,...
OmniOutliner is a flexible program for creating, collecting, and organizing information. Give your creativity a kick start by using an application that's actually designed to help you think. It's... Read more
Default Folder X 5.0.6 - Enhances Open a...
Default Folder X attaches a toolbar to the right side of the Open and Save dialogs in any OS X-native application. The toolbar gives you fast access to various folders and commands. You just click on... Read more
Adobe Creative Cloud 3.8.0.310 - Access...
Adobe Creative Cloud costs $19.99/month for a single app, or $49.99/month for the entire suite. Introducing Adobe Creative Cloud desktop applications, including Adobe Photoshop CC and Illustrator CC... Read more
MYStuff Pro 2.0.25 - Create inventories...
MYStuff Pro is the most flexible way to create detail-rich inventories for your home or small business. Add items to MYStuff by dragging and dropping existing information, uploading new images, or... Read more
Viber 6.2.0 - Send messages and make cal...
Viber lets you send free messages and make free calls to other Viber users, on any device and network, in any country! Viber syncs your contacts, messages and call history with your mobile device, so... Read more
Data Rescue 4.2.3 - Powerful hard drive...
Use Data Rescue to recover: crashed, corrupted or non-mounting hard drive deleted, damaged, or lost files reformatted or erased hard drive One powerful new feature found in Data Rescue 4 is... Read more
Microsoft Remote Desktop 8.0.34 - Connec...
With Microsoft Remote Desktop, you can connect to a remote PC and your work resources from almost anywhere. Experience the power of Windows with RemoteFX in a Remote Desktop client designed to help... Read more
Microsoft Remote Desktop 8.0.34 - Connec...
With Microsoft Remote Desktop, you can connect to a remote PC and your work resources from almost anywhere. Experience the power of Windows with RemoteFX in a Remote Desktop client designed to help... Read more
Data Rescue 4.2.3 - Powerful hard drive...
Use Data Rescue to recover: crashed, corrupted or non-mounting hard drive deleted, damaged, or lost files reformatted or erased hard drive One powerful new feature found in Data Rescue 4 is... Read more
Viber 6.2.0 - Send messages and make cal...
Viber lets you send free messages and make free calls to other Viber users, on any device and network, in any country! Viber syncs your contacts, messages and call history with your mobile device, so... Read more

Naruto Shippuden: Ultimate Ninja Blazing...
I'm not sure if it's possible to say you are an anime fan but also never have seen one episode of Naruto. If it is, then I resemble that remark, and if not, I offer a hearty apology. [Read more] | Read more »
5 mobile games that let you explore spac...
No Man's Sky hasn't exactly turned out to be everything it was promised. Though its core concept of exploring an unimaginably vast universe of different planets is an intriguing one, the execution has left many PS4 and PC gamers feeling like they... | Read more »
Mummy madness in new action game Tomb He...
Hot on the tail of Bump Hero, ZPlay is giving gamers another reason to get screen bashing with a brand new release. Tomb Heroes is a challenging action game in which you battle enemies in various tombs around the world. You can select from nine... | Read more »
Siralim 2 (RPG / Roguelike) (Games)
Siralim 2 (RPG / Roguelike) 1.0 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0 (iTunes) Description: Siralim 2 is an old-school monster catching RPG. Summon and customize hundreds of creatures to fight for you as... | Read more »
Clean Text (Productivity)
Clean Text 1.0 Device: iOS Universal Category: Productivity Price: $3.99, Version: 1.0 (iTunes) Description: | Read more »
Gemini - A Journey of Two Stars (Games)
Gemini - A Journey of Two Stars 1.0.1 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0.1 (iTunes) Description: *** SPECIAL LAUNCH SALE: $2.99 (25% off) *** "A mesmerizing and unexpectedly emotional journey." -- Los... | Read more »
How to get four NFL superstars for your...
Even though you're probably well on your way to building a top notch squad for the new season in Madden NFL Mobile, let's say you could beef it up by adding Rob Gronkowski, Antonio Brown, Von Miller, and Todd Gurley to your roster. That's... | Read more »
Cartoon Network Superstar Soccer: Goal!!...
Cartoon Network Superstar Soccer: Goal!!! – Multiplayer Sports Game Starring Your Favorite Characters 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Become a soccer superstar with your... | Read more »
NFL Huddle: What's new in Topps NFL...
Can you smell that? It's the scent of pigskin in the air, which either means that cliches be damned, pigs are flying in your neck of the woods, or the new NFL season is right around the corner. [Read more] | Read more »
FarmVille: Tropic Escape tips, tricks, a...
Maybe farming is passé in mobile games now. Ah, but farming -- and doing a lot of a other things too -- in an island paradise might be a little different. At least you can work on your tan and sip some pina coladas while tending to your crops. [... | Read more »

Price Scanner via MacPrices.net

Apple refurbished iMacs available for up to $...
Apple has Certified Refurbished 2015 21″ & 27″ iMacs available for up to $350 off MSRP. Apple’s one-year warranty is standard, and shipping is free. The following models are available: - 21″ 3.... Read more
Clearance 2015 13-inch MacBook Airs available...
B&H Photo has clearance 2015 13″ MacBook Airs available for $350 off original MSRP. Shipping is free, and B&H charges NY sales tax only: - 13″ 1.6GHz/4GB/128GB MacBook Air (MJVE2LL/A): $829... Read more
Check Apple prices on any device with the iTr...
MacPrices is proud to offer readers a free iOS app (iPhones, iPads, & iPod touch) and Android app (Google Play and Amazon App Store) called iTracx, which allows you to glance at today’s lowest... Read more
Save $120 with Apple refurbished Time Capsule...
Apple has certified refurbished Time Capsules available for $120 off MSRP. Apple’s one-year warranty is included with each Time Capsule, and shipping is free: - 2TB Time Capsule: $179, $120 off (not... Read more
9-inch 32GB iPad Pros on sale for $70 off MSR...
B&H Photo has 9″ 32GB WiFi Apple iPad Pros on sale for $70 off MSRP, each including free shipping. B&H charges sales tax in NY only: - 9″ Space Gray 32GB WiFi iPad Pro: $529 $70 off MSRP - 9... Read more
Mac minis on sale for up to $140 off MSRP
Adorama has Mac minis on sale for up to $100 off MSRP including free shipping plus NY & NJ sales tax only: - 1.4GHz Mac mini: $449 $50 off MSRP - 2.6GHz Mac mini: $649 $50 off MSRP Amazon has the... Read more
Back To School with OtterBox Essentials
Back to school means back to an environment that is tough on tech. OtterBox has the back to school essentials you need to keep tech safe from drops, bumps, scratches and hallway havoc. Check out the... Read more
VRS Design Releases New iPhone 7 Plus Case Li...
With a device as large and costly as the iPhone 7 Plus, it is primal instinct to protect it from potential damage. According to a study by SquareTrade in 2012, iPhone damages cost Americans roughly $... Read more
MacBook Airs on sale for up to $101 off MSRP
Amazon has 11″ and 13″ MacBook Airs on sale for up to $101 off MSRP for a limited time. Shipping is free: - 11″ 1.6GHz/128GB MacBook Air (model MJVM2LL/A): $798 $101 off MSRP - 11″ 1.6GHz/256GB... Read more
Apple certified refurbished iPad mini 4s avai...
Apple has certified refurbished iPad mini 4s now available for up to $120 off the cost of new models. An Apple one-year warranty is included with each iPad, and shipping is free. The following models... Read more

Jobs Board

*Apple* /Mac Support Engineer - GFI Digital,...
FI Digital, Inc. is currently seeking candidates for a full time Apple Support Engineer to add to our Maryland Heights, Missouri IT team. Candidates must be dynamic Read more
*Apple* Solutions Consultant - Apple (United...
Apple Solutions ConsultantJob Number: 51218534Pleasant Hill, California, United StatesPosted: Aug. 18, 2016Weekly Hours: 40.00Job SummaryAs an Apple Solutions Read more
*Apple* Solutions Consultant - Apple (United...
# Apple Solutions Consultant Job Number: 51443201 Mishawaka, Indiana, United States Posted: Aug. 25, 2016 Weekly Hours: 40.00 **Job Summary** As an Apple Read more
*Apple* Solutions Consultant - Apple (United...
# Apple Solutions Consultant Job Number: 51218354 Fredericksburg, Virginia, United States Posted: Aug. 18, 2016 Weekly Hours: 40.00 **Job Summary** As an Apple Read more
*Apple* Retail - Multiple Positions Birmingh...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.