Use WorldTime to get Area Codes
Sometimes I need to be able to see the Area Codes for cities around the world. This information is stored in the World Time database, in the "City Prefix" field of City screen.
Since I tend to need this information a lot, I've modified the All Cities list to display it. Here's how I did it:
To access a sample North American city, press 1 613 (there is a space between the 1 and the 613) and Ottawa will appear. To access Tel Aviv, press 972 3. The only trick is to remember that you have to enter "1 " (the number one plus a space) before all North American area codes.
- 1. Open WorldTime by pressing (CTRL) (HPCALC).
- 2. Press (F6) Subset then (F2) Define.
- 3. Now press (F10) OK to save the unmodified subset, and when prompted name it Area Codes. Then press (ENTER) once to save the name, and press (ENTER) again to select the subset from the subset list.
- 4. Press (MENU) View Arrange Columns.
- 5. Move the cursor over to country and decrease its column width by six or seven with the width- key (F5). This is necessary so that when we add the City Prefix in the next step, all the digits will be visible. (The City Prefix will need to be 5 characters wide.)
- 6. Press (F2) Add.
- 7. Scroll down to City Prefix then press (ENTER) or (F10) OK.
- 8. Press (F7) Move and move the "City Prefix" column to the first column. Press (F10) Done.
- 9. Press (MENU) View Sort and you will be presented with the sorting dialog box. Under the 1st sort field press down until City Prefix is highlighted and then press (ENTER) or (F10) OK. The Palmtop will now perform the sort and after about 10 seconds, the dialog box will disappear and you will have a list of all the cities sorted by City Prefix.
The "City Prefix" field of a WorldTime City screen displays International Access numbers and City Prefix phone numbers.
The "CityWorld Time City All Cities screen display with the cities sorted by City Prefix.
Now, to add a wrinkle to your new-found information base, you should know that the new Toronto area code was created after HP created their database.
By the way, I also created a similar subset sorted by longitude and also latitude. This gives me groups of cities clustered around a city that I am traveling to and/or may be interested in. You can even use the Great Circle Navigation formula from within the calculator's solver function to compute "as the crow flies" distances.
Real handy if you're unfamiliar with your destination geography.
Kanata, Ontario, Canada
Notice about Palmtop.net
Palmtop Network with its S.U.P.E.R. (Simply
Unbeatable Palmtop Essentials Repository) software is now
available under the domain name of
|We buy used palmtops,
working or broken: HP 200LX, HP 100LX and 1000CX.