TweetFollow Us on Twitter

Apr 95 Dialog Box
Volume Number:11
Issue Number:4
Column Tag:Dialog Box

Dialog Box

By Scott T Boyd, Editor

Jasik Has A Better Bus Error

Steve Jasik wrote, in light of the attention we’ve been giving to the need to use strong debugging tools, to remind us that his Debugger has been putting a “garbage” value in location zero since its inception, and you get the message if you trip on it.

He also wanted to remind us that it has a version of Trap Discipline similar to the one implemented in TMON, but it also does the Color QD Traps. His version of Discipline will catch double disposes, etc. He says it’s supported (and documented?).

- Ed stb

Stenger Goes For Two Month’s In A Row

I found a couple of cases where Bob Boonstra’s solution to the Rubik’s Cube challenge (MacTech, February 1995, pp. 49 ff.) goes into a loop.

(1) If the cube is already solved, the code correctly detects that no moves are necessary, but the playback loop in SolveRubiksCube doesn’t handle this empty case correctly (the loop is coded to “execute at least once”).

(2) The illegally-colored cube with solid faces 0, 3, 4, 2, 1, 5 is not caught by LegalCube, and then generates no moves (I don’t know why this is). It then fails as in item (1).

The code works correctly on all the “normal” cases I tried, so it meets the spirit of the Challenge and should still be the winner.

- Allen Stenger, 70401.1171@compuserve.com

Prograph - Where’s It Been Hiding?

I read Kurt Schmucker’s article on Prograph CPX, and was amazed that I had never heard of this product. I am a programmer for a consulting company here in Milwaukee. After reading that article, I went out and bought Prograph CPX immediately. I want to see more articles about Prograph - I think it’s a product that has a great future.

- minton brooks, MBAssoc@aol.com

Re: A Quick Trip Into the Depth

In his article in the February issue, “A Quick Trip Into the Depths”, Steve Jasik writes, “The crux of the problem was that, despite what Inside Macintosh or today’s equivalent of it says, the Resource Manager doesn’t always return a non-zero value of ResErr when it doesn’t find the requested resource.”

This assertion is incorrect. Inside Macintosh does specifically warn you about this problem. Inside Macintosh : More Macintosh Toolbox on page I-51 in describing ResError function has this to say under the caption IMPORTANT, “In certain cases, the ResError function returns noErr even though a Resource Manager routine was unable to perform the requested operation. See the individual routine descriptions for details about the circumstances under which this happens”.

Then if we turn to page I-73 of the same volume, we can read that, “If you call GetResource with a resource type that can’t be found in any of the resource maps of the open resource forks, the function returns NIL, but ResError returns the result code noErr. You should always check that the value of the returned handle is not NIL.”

- Vladimir Potap'yev, VolodyaP@aol.com

We Forgot To Say Thanks!

Chris De Salvo contributed Control Strip Tester - an application shell to help you test out control strips - to go along with Mike Blackwell’s “Writing Control Strip Modules” article in our December issue. We didn’t have time to get a mention of it into the issue, but we did manage to get it onto our source disk and our online sites. You can find it at:

ftp://ftp.netcom.com/pub/xp/xplain/Source/10.12/ControlStripExtras.sit.bin

and our other online sites, and you can e-mail him at phixus@netcom.com.

Thanks, Chris!

- Ed stb

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Combo Quest (Games)
Combo Quest 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Combo Quest is an epic, time tap role-playing adventure. In this unique masterpiece, you are a knight on a heroic quest to retrieve... | Read more »
Hero Emblems (Games)
Hero Emblems 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: ** 25% OFF for a limited time to celebrate the release ** ** Note for iPhone 6 user: If it doesn't run fullscreen on your device... | Read more »
Puzzle Blitz (Games)
Puzzle Blitz 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Puzzle Blitz is a frantic puzzle solving race against the clock! Solve as many puzzles as you can, before time runs out! You have... | Read more »
Sky Patrol (Games)
Sky Patrol 1.0.1 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0.1 (iTunes) Description: 'Strategic Twist On The Classic Shooter Genre' - Indie Game Mag... | Read more »
The Princess Bride - The Official Game...
The Princess Bride - The Official Game 1.1 Device: iOS Universal Category: Games Price: $3.99, Version: 1.1 (iTunes) Description: An epic game based on the beloved classic movie? Inconceivable! Play the world of The Princess Bride... | Read more »
Frozen Synapse (Games)
Frozen Synapse 1.0 Device: iOS iPhone Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Frozen Synapse is a multi-award-winning tactical game. (Full cross-play with desktop and tablet versions) 9/10 Edge 9/10 Eurogamer... | Read more »
Space Marshals (Games)
Space Marshals 1.0.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.0.1 (iTunes) Description: ### IMPORTANT ### Please note that iPhone 4 is not supported. Space Marshals is a Sci-fi Wild West adventure taking place... | Read more »
Battle Slimes (Games)
Battle Slimes 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: BATTLE SLIMES is a fun local multiplayer game. Control speedy & bouncy slime blobs as you compete with friends and family.... | Read more »
Spectrum - 3D Avenue (Games)
Spectrum - 3D Avenue 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: "Spectrum is a pretty cool take on twitchy/reaction-based gameplay with enough complexity and style to stand out from the... | Read more »
Drop Wizard (Games)
Drop Wizard 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Bring back the joy of arcade games! Drop Wizard is an action arcade game where you play as Teo, a wizard on a quest to save his... | Read more »

Price Scanner via MacPrices.net

Apple’s M4 Mac minis on sale for record-low p...
B&H Photo has M4 and M4 Pro Mac minis in stock and on sale right now for up to $150 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses. Prices start at only $469: – M4... Read more
Deal Alert! Mac Studio with M4 Max CPU on sal...
B&H Photo has the standard-configuration Mac Studio model with Apple’s M4 Max CPU in stock today and on sale for $300 off MSRP, now $1699 (10-Core CPU and 32GB RAM/512GB SSD). B&H also... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.