TweetFollow Us on Twitter

Jan 93 Tips
Volume Number:9
Issue Number:1
Column Tag:Tips & Tidbits

Tips & Tidbits

By Neil Ticktin, Editor-in-Chief

This column is your opportunity to spread the word about little bits of information that you find out about. These tidbits can be programming related or they can be user tips that are particularly useful to programmers.

MacTutor will pay $25 for every tip used, and $50 for the Tip of the Month. You can also take your award in orders or subscriptions.

To submit a tip, send in a letter to the magazine. AppleLink is our preferred method, but feel free to send something via any e-mail address or US Mail. If you do send snail mail, enclose a printed copy and a disk copy of the letter so that it does not have to be retyped.

Let us know what you think. Remember, this is your magazine. Try ‘em out and let us know...

Tip of the month

Have you ever wanted to invoke debugger from your C code, but only under certain circumstances? This tip is a great way to invoke the debugger programmatically. In THINK C, define the following macro:

#define oDebugger() do { asm { BTST#2,Keymap+7  } asm { BEQ@NoDebug } 
asm { _Debugger } asm {@NoDebug } }while (0)

Then, any calls to

oDebugger();

in your source code will fall into the debugger only if the option key is held down.

Obviously, be sure to take this out before the final version. I do a #ifdef conditional around the macro just to be sure it doesn't compile into any of my final versions. I have tried this only with THINK C 5.0, so (as they say) your mileage may vary.

- Kent Miller

Arlington, Texas

Faster access to the MacTutor CD-ROM Index

CD-ROMs are great for distributing large amounts of data, but they are not the fastest things known to man. The All of MacTutor CDs use On Location™ from On Technology to index the contents of the CD. Although On Location is comparitively very fast, you can increase it’s speed dramatically by copying the index to your hard disk and accessing it from there. This methodolgy could speed up your index access by as much as 15 times.

- Neil Ticktin

Editor-in-Chief

Auto Hides in System 7

If you use the “Hide” feature in System 7 application switching, there is an automatic way. Hold down the option key while switching applications, System 7 will automatically hide the application you are switching from.

This works whether you use the application menu or by just clicking on another application’s window.

- Neil Ticktin

Editor-in-Chief

 
AAPL
$566.75
Apple Inc.
-3.81
GOOG
$602.00
Google Inc.
-7.46
MSFT
$29.00
Microsoft Corpora
-0.11
MacNews Search:
Community Search:
view counter

view counter
view counter
view counter
view counter
view counter
view counter
view counter
view counter

Dave vs Cave Review
Dave vs Cave Review By Jason Wadsworth on May 24th, 2012 Our Rating: :: WATCH FOR FALLING ROCKSUniversal App - Designed for iPhone and iPad Kid falls down hole, kid gets trapped in cave, kid fights evil rock monsters to escape.   Developer: Origame64 | Read more »
Python Pocket Power: Python Bytes 3 – Mo...
Python fans are certain to welcome the best bits from the penultimate season of the BBC sketch comedy in a new iPhone app: Python Bytes 3 – Monty Python Series 3. If you have a flair for the obvious, you’ll correctly assume this is third in a series of apps that feature the best skits from the cult-classic, Monty Python’s Flying Circus. | Read more »
Slingshot Racing Review
Slingshot Racing Review By Carter Dotson on May 24th, 2012 Our Rating: :: SWING ME AROUNDUniversal App - Designed for iPhone and iPad Slingshot Racing is a racing game where players must race around the courses by grappling and swinging around the slippery courses.   | Read more »
Go to the Cannes Film Festival with The...
For the movie industry the Cannes Film Festival is one of the most important events in which to preview films and watch the stars. The 65th annual festival is happening in France right now, but if you weren’t able to secure an invite or make the journey, hope is not lost. Film buffs and star gazers can keep tabs on the festival with The Hoolywood... | Read more »
David Haye’s Knockout Review
David Haye’s Knockout Review By Jennifer Allen on May 24th, 2012 Our Rating: :: PUNCHING FUNUniversal App - Designed for iPhone and iPad A simple yet satisfying cartoon-style boxing game.   | Read more »
WhosHere Updates, Adds Video Chat for Fr...
A mobile social discovery app, WhosHere, updated yesterday, adding free video chat to the universal iOS build. The app allows users connect with an new emphasis on keeping random hook-ups safe(ish). The developers say “the biggest problem in meeting people online today [is] knowing that the person you are speaking to is exactly who they say they... | Read more »
Are You Smarter Than A 5th Grader? &...
Are You Smarter Than A 5th Grader? & Friends Free Review By Jennifer Allen on May 24th, 2012 Our Rating: :: LACKINGUniversal App - Designed for iPhone and iPad An underwhelming use of a great franchise.   | Read more »
Fruit Ninja Gets New Update With Powerup...
Fruit Ninja is about to get its biggest update yet to celebrate its second anniversary on Thursday, May 24th. The key new element in the game appears to be that players will now be able to earn an in-game currency, called starfruit, that can be used to buy new powerups from new characters Gutsu and Truffles, introduced in the new trailer produced... | Read more »
Fotor – CameraBag Review
Fotor – CameraBag Review By Jennifer Allen on May 23rd, 2012 Our Rating: :: PLENTIFULiPhone App - Designed for the iPhone, compatible with the iPad A photography app that wants to be able to do everything that could ever be asked of it.   | Read more »
playGO AP1 is the Next Generation of Aud...
With all of Apple’s relatively recent success in the smartphone and tablet market, we can forget sometimes that what kicked off their modern dominance was a device that simply played music. BICOM, Inc. has been recognizing how important music is to the company with their playGo series of iOS receiver systems. The newest model, the playGo AP1, is... | Read more »
All contents are Copyright 1984-2010 by Xplain Corporation. All rights reserved. Theme designed by Icreon.