ftp.nice.ch/pub/next/database/apps/ZipCode.1.1z.README

This is the README for ZipCode.1.1z.N.b.tar.gz [Download] [Browse] [Up]

Announcing ZipCode.app, Version 1.1z, a simple application which provides an item on the Services menu to find the City, County and State for a zip code taken from the currently selected text.

ZipCode.app should run under Release 2.1, but I have only tested that it runs under 3.1 and 3.2, provided you have Black Hardware.

Inspired by Karl Kraft's AreaCode application, I decided that a ZipCode version would be equally useful.  Using Garrick Toubassi's SegHoarker, I replaced the Area Code information with a Zip Code database I found on the Internet (not that I couldn't have done the same thing with /bin/segedit, it's just that SegHoarker is much easier to use).  There were a few problems because the Services entries overlapped, but I eventually found some way to convince the program that it was no longer named AreaCode - and now the AreaCode service, Command-#, can happily co-exist with the new ZipCode service, Command-@, in case you also have AreaCode.app installed.  I also modified the app icon and Info panel to make it distinct.

One negative aspect worth mentioning is that the application has grown to 1.4MB because of the size of the Zip Code database - it was a mere 70KB as AreaCode.app!

P.S.  I don't remember asking Karl's permission to redistribute this.  I hope he is flattered that I found it easier to monkey with his app instead of writing one from scratch.  Perhaps Karl would like to recompile AreaCode.app as a FAT binary?

    Brian Willoughby	Software Design Engineer, BSEE from NCSU
NeXTmail welcome	Sound Consulting: Software Design and Development
BrianW@SoundS.WA.com	Bellevue, WA


Here are the contents of the Help Panel, converted to ascii:

ZipCode
by Brian Willoughby
History:
ZipCode is actually a modified version of AreaCode, replacing the segment which held area codes to instead hold zip codes.  Operation is the same as for AreaCode.

AreaCode
by Karl Kraft
Usage:
AreaCode is a program to make it easier to find where in the country1 a particular area code is, and vice versa.  Operation is very simple.  Enter the area code, or state you are interested in.  The program will search a built in list of area codes and names, and display any matches.

You do not need to properly capitalize nor do you need to complete the name.  You can also use ? to represent any single character and * to represent zero or more characters.  You can also use the brackets [] to specify a set or range of characters.  Use the backslash to escape any of these characters.


All of the following will display the same results:
California == Calif == calif == CaLiFoRnIa == Calif*a

-----------------------
Changes from 1.0

There were a report that 1.0 would not work under NeXTSTEP 3.0.  AreaCode 1.1 works under NeXTSTEP 3.0 without problem.

The application icon and InfoPanel have been enhanced.

When you search an areacode using services, the application is now figures out what portion of the selection represents the areacode.  For instance, if you select the entire phone number "(702) 792 6799" it will only look for 702

When a search from services fails, a message is displayed, and the application beeps.



A word about the raw data:

	The source for these numbers was a file I found on the Internet.  There was no author information.  Some of it is slightly out of date, as it is pre spring 1990.  If anyone notices any discrepancies, let me know and I will fix them.

Contacting the Author.

I can recieve NeXTMail at karl@bodi.portal.com but please keep any attachments small. I'm also on Compuserve and hang around the NeXT Forum as  71140,57  (Karl Kraft).

You can also send mail to me at:
	Karl Kraft
	4220 South Maryland Parkway
	Building B, Suite 406
	Las Vegas, NV 89119
	1 (702) 792 6799

_______________
1	Please forgive me for my extreme USA bias.  

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.