Directory, by Mark A. Agius, ©1995 - 2009.

Directory
|
Acorn BBC BASIC/RISC OS version
|
Matt Browne, 1995
(UK telephone directory only)
© Copyright RISC User 1995
Version 1.00
|
Mark Agius, 1995
(UK telephone directory only)
Version 1.01
|
Microsoft Windows 95, 98, XP, Vista and Windows 7 versions
|
Mark A. Agius, (c)2005 - 2009
Version 2.00.0001 - 5/06/2005
Version 2.00.0002 - 6/06/2005
Version 2.00.0004 - 12/06/2005
Version 2.00.0005 - 18/06/2005
Version 2.00.0006 - 25/09/2005
Version 2.00.0007 - 16/11/2007
Version 2.09.0008 - 19/11/2009
|

Directory is a useful UK telephone dialling code directory.
You can use Directory to convert the following;
- UK telephone dialling codes to UK towns.
- UK towns to telephone dialling codes.
- UK towns to postal postcodes.
- UK postcodes to place names.
- Radio call signs to countries.
- Countries to radio call signs.
- International dialling codes to countries.
- Country international dialling code from country.
- Country from Web site domain name.
- Web site domain from country.
- UK area to car number plate.
- UK car number plate to area.
- International car symbol to country.
- Country to international car symbol.
- US towns to postal zip code.
- US zip code to place name.

  If you wish to edit/update the data, then edit one of the following files;

  Directory files.
  SEARCH OPTION; | No.; | DATA FILE;
  Search for UK dialling codes. | 1 | Directory.dat
  Search for UK post codes. | 2 | PostCodes.dat
  Search for Radio call signs. | 3 | CallSigns.dat
  Search for International dialling codes. | 4 | InterTelDir.dat
  Search for Web domain names. | 5 | InterDomainNames.dat
  Search for UK vehicle number plates. | 6 | VehiclePlates.dat
  Search for International car symbols. | 7 | InterVehicleSymbols.dat
  Search for US zip codes. | 8 | ZipCodesUS.dat

  Formats;
  - UK telephone dialing codes;
    (Area code) local number
    Area code - local number
    Area code local number
    All area codes start with a zero and are normally 5 or 6 digits long.
    Eg. 0171 = London central.
  - UK car number plates;

    Year of registration; | Number plate format; | Region and date example; | Year codes;
    1/01/1904 - 31/12/1931 = | AA1234 | AA=Area code in country, 1234=ID for car in this area. | -
    1/01/1932 - 31/12/1962 = | AAA123 | AAA=Area code in country, 123=ID for car in this area. | -
    1/01/1963 - 31/08/1983 = | AAA 123Y | AAA=Area code in country, 123=ID for car in this area, Y=Year ID (Eg.Y=1982) | -
    1/09/1983 - 31/08/2001 = | Y123 AAB | Y=Year ID (Eg.Y=2000), AA=Anglia, 123=ID for car in this year and region. | -
    1/09/2001 - 28/02/2049 = | AA 09 XXX | AA=Anglia, 09=March 2009, XXX=ID for car in this year and region. | -

    See; http://www.citizendia.org/Vehicle_registration_plates_of_the_United_Kingdom for more information.
  - UK postcodes;
    UK postcode formats are as follows;

    Format; | Example; | Used in the following areas;
    P1 2LL | M1 1AB | B, E, G, L, M, N, S, W postcode areas
    P11 2LL | M60 4EF | B, E, G, L, M, N, S, W postcode areas
    PP1 2LL | RH1 1AB | Most postcode areas except B, E, G, L, M, N, S, W, WC
    PP11 2LL | RH16 1AB | Most postcode areas except B, E, G, L, M, N, S, W, WC
    P1P 2LL | W1A 1AB | E1W, N1C, N1P, W1 postcode districts. (High density areas, eg London)
    PP1P 2LL | EC1A 1AB | WC postcode area; EC1-EC4, NW1W, SE1P, SW1 postcode districts. (High density areas, eg London)

    The first letter or pair of letters (P or PP) represents the main postcode area.
    The following number (1 or 11), from 0 to 99, determines the postcode district within that area.
    Some post codes in London can also include a letter after the number. (P1P or PP1P)
    A space to separate the national postal area from the local area.
    A single number and two letters (2LL) for the local road etc.
    Main postal area
    = -

  Directory
  Version History

      --> Version 1.00 (1st May 1995)   BBC Acorn RISC version.
      First version. No known bugs, except erratic memory problems (appearing VERY
      rarely) due to a bug in the CLib. (That‘s rarely in real terms, not Pentium
      terms... ;-) )

      --> Version 1.01 (3rd August 1995)   BBC Acorn RISC version.
      Small bug fixed, which previously allowed the last item on lists to be missed
      out in some circumstances.

      --> Version; 2.00.0001 ( 5/06/2005 -  6:00am bst)   Microsoft Windows 95 and later versions.
          This is the first Microsoft Windows version.
          All code by Mark A. Agius.
          Based on the above Acorn BBC BASIC / RISC OS version by Matt Browne and Mark Agius.
          This is completely new code, except the application icon (!Sprites22) has been copied,
          the Directory text file has been copied and renamed Directory.csv and the ReadMe and
          History text files have been copied into this Help.txt file.

      --> Version; 2.00.0002 ( 6/06/2005 -  6:00am bst)
          In version 2.00.0001 as with the BBC Basic versions a match would be any cell that contained the
          searching for string.
          This version now uses wildcards.

          *   = Zero or more characters.
          #   = One character only.
          ##  = Two characters only.
          *## = Two or more characters.

          Eg.

      Search for;Cell data;Old version;	New version;
      AYWAR		Haywards Heath	Yes (This is part of the cell)	No  (This is not the whole string)
      *AYWAR*		Haywards Heath	No  (Can't find * in string)	Yes (AYWAR is part of the string)
      H*WAR* H*	Haywards Heath	No  (Can't find * in string)	Yes
      HEA##		Heath		No  (Can't find ## after HEA)	Yes (There are 2 characters after HEA)
      HEA#		Heath		No  (Can't find # after HEA)	No  (There are 2 characters after HEA)

          When saving the data, if the cell split character (usually a tab or comma) is found in the cell
          then it is replaced by a space or a character that looks like a comma.
          During a search a new menu item is added. 'Abort this search'.
          'Abort this search' will stop a search before all records have been checked and add a line to remind the user
          that the search has been aborted.
          'Options - Open applications directory' added.
          'Options - Restore Directory.csv file' added.

          If the Directory.csv has been deleted or edited and you wish to restore the original file then;
          Hold down the SHIFT key and click menu. Then click on the menu 'Options', 'Restore/fix the Directory.csv file'

          You can edit this file with NotePad or any text editor application.
          The format is;
          # Any line that starts with a hash (#) is ignored (Used for entering comments only). Eg.
          # UK Dialling code directory
          Any blank line is ignored. Eg.

          The place name and then the number.
          The name and number will be split by this application. This is done by removing any numbers or spaces
          from the end of the text to leave just the name. Eg.
          Abbey St.Bathans 01361 4 = "Abbey St.Bathans" and " 01361 4" = "Abbey St.Bathans" and "01361 4"

          A list of useful web sites has been added to the menu.

      --> Version; 2.00.0003 (11/06/2005 -  2:10pm bst)
          Before this version you could only search for telephone dialing code area codes.
          You can now search for;
          		  Telephone dialling codes,	(Directory.dat)
          		  Post codes,		(PostCodes.dat)
          		  Radio call signs.		(CallSigns.dat)
          This data is now stored in data (.dat) files and not a (.csv) file as before.
          To restore each file, first select the type of search in the dropdown 'Search Type' list box.
          Then hold down the SHIFT key and click menu. Then click on the menu 'Options', 'Restore/fix the data file'
          (When data file will be 'Directory.dat', 'PostCodes.dat' or 'CallSigns.dat'.)
          During a search, the background colour of the window changes to pink to let the user also know that the
          search has not yet finished.
          Tooltip text was also added.
          Note;
          You can only change the type of search in the dropdown list box if the results chart is empty.
          To empty/clear the results chart, click menu and click select on 'Clear the search results'.

      --> Version; 2.00.0004 (12/06/2005 -  3:15pm bst)
          If the window is bigger enough to display all the Results Flex-Grid, then the size of the Flex-Grid is
          limited to the total number of rows.
          During a search, the background of all objects changes to pink and the Results Flex-Grid is set to 99 rows
          until the search is over.

      --> Version; 2.00.0005 (18/06/20005 -  3:37pm bst)
          The same as the last version, except you can now search for;
          		  UK dialling codes,		(Directory.dat) (was Telephone dialling codes)
          		  UK post codes,			(PostCodes.dat) (was Post codes)
          		  Radio call signs,			(CallSigns.dat) (was Radio call signs)
          		  International dialling codes,	(InterTelDir.dat)		(No backup file)
          		  Web domain names,		(InterDomainNames.dat)	(No backup file)
          		  UK vehicle number plates,		(VehiclePlates.dat)	(No backup file)
          		  International car symbols,		(InterVehicleSymbols.dat)	(No backup file)
          		  US zip codes,			(ZipCodesUS.dat)		(No backup file)
          Only the first three (old) options have builtin backup data. (If the file is lost)
          Some code was changed (bug fix) when returning a large number of matches.
          The width of the first colume in the results box now changes acourding to the type of search.
          Clicking select on the results box now opens a window (or updates it if already open)

      --> Version; 2.00.0006 (25/09/20005 -  7:37pm bst)
          The same as the last version, except you can now search for; (All files have backup data unless stated)
          		  UK dialling codes,		(Directory.dat) (was Telephone dialling codes)
          		  UK post codes,			(PostCodes.dat) (was Post codes)
          		  Radio call signs,			(CallSigns.dat) (was Radio call signs)
          		  International dialling codes,	(InterTelDir.dat)
          		  Web domain names,		(InterDomainNames.dat)
          		  UK vehicle number plates,		(VehiclePlates.dat)
          		  International car symbols,		(InterVehicleSymbols.dat)
          		  US zip codes,			(ZipCodesUS.dat)
          During a search, the background of all objects changes to green.
          During  a  database file  restore  all objects changes to blue.
          Some bugs in the modules used to restore a database file have been fixed.
                       The end of the data in the restored data file would not be restored but displayed as;
                       "## There is no data for directory line 9999 ##"
          The 'About Directory' window now has a background of lots of random numbers.

      --> Version; 2.00.0007 (16/11/2007 -  3:25pm gmt)
          In the 'Search for' box in the main window there is now an arrow to display the direction of the conversion.
          You can click on this arrow to toggle the to/from conversion direction instead of clicking on one of the two 'Search for' options.

      --> Version; 2.09.0008 (19/11/2009 -  2:00pm gmt)
          No major changes to this version.
          Updated the new web site address (http://markagius.co.uk) and email address (MarkAgius@markagius.co.uk) in the 'About Directory' window.
          Changed the menu list of web sites as some have gone since 2005.
          Uploaded this program to the Web for others to use.
          Changed this help text file into a html file.
          If this help file is not found then the error message will give you the option od display the application directory.
          Converted and edited this help file from a text file into a html file.

  To check for later versions of Directory and other software,
  please visit; http://markagius.co.uk