home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / databases / progs / addr_book / !Addr_Book / Manual < prev    next >
Encoding:
Text File  |  1993-03-31  |  31.5 KB  |  761 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.                                         
  16.  
  17.                  ***********************************************
  18.                  *                                             *
  19.                  *   A D D R E S S  B O O K  D A T A B A S E   *
  20.                  *                                             *
  21.                  *               Version 1.7                   *
  22.                  *                                             *
  23.                  ***********************************************
  24.  
  25.  
  26.  
  27.              Relocatable Module freeform database for the Archimedes
  28.  
  29.  
  30.  
  31.                      Copyright David Holden 1989,90,91,92,93
  32.  
  33.                                         
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                               CONTENTS                      Page
  41.  
  42.  
  43.                         Preliminaries
  44.  
  45.                               Licence to Use        ........  1
  46.                               How to Register       ........  1
  47.                               Licence to Copy       ........  2
  48.  
  49.                         Using Address Book
  50.                               General Description   ........  3
  51.                               Loading the Module    ........  4
  52.                               The 'Ab_Reg' file     ......... 4
  53.  
  54.                         The Commands
  55.                               Name                  ........  5
  56.                               Address               ........  5
  57.                               Phone                 ........  5
  58.                               Data                  ........  5
  59.                               Paddress              ........  6
  60.                               Next                  ........  6
  61.                               Prev                  ........  6
  62.                               More                  ........  6
  63.                               Sort                  ........  7
  64.                               Unsort                ........  7
  65.                               Adrload               ........  7
  66.                               Adrsave               ........  7
  67.                               Cname                 ........  7
  68.                               Caddress              ........  7
  69.  
  70.                         The 'Hot Key'
  71.                               Method of Operation   ........  8
  72.                               How to use it         ........  8
  73.                               Speed                 ........  8
  74.                               
  75.                         The File Format
  76.                               General               ........  9
  77.                               The Name              ........  9
  78.                               The Address           ........  9
  79.                               Phone Numbers         ........  9
  80.                               Data                  ........  10
  81.                               End of Record         ........  10
  82.                               File Rules Summary    ........  10
  83.                               Number of Records     ........  11
  84.  
  85.                               Simple Label Printer  ........  11
  86.                               Making Text Files     ........  12
  87.                               Phone Number List     ........  12
  88.       
  89.                                                                    Page 1  
  90.  
  91.  
  92.  
  93.                           --->>  LICENCE TO USE  <<---
  94.                                         
  95.      This program is subject to copyright. It is distributed as SHAREWARE 
  96.      and is NOT Public Domain. This means that the Author retains full 
  97.      copyright and expects a reward for his efforts.
  98.  
  99.      You are Licensed to use this program for evaluation and testing ONLY 
  100.      for a maximum period of THIRTY DAYS. At the end of this time you must 
  101.      either stop using it or REGISTER. Registration costs just Eight Pounds 
  102.      and entitles you to free upgrades to any subsequent versions.
  103.  
  104.      I am always willing to listen to problems or comments, even if you 
  105.      have not registered. If you write please enclose an SAE. If you phone 
  106.      I am normally available on weekday evenings. If you require a 
  107.      customised version with special fields please contact me.
  108.  
  109.      So far as I know the Module is error free but it is a primary rule of 
  110.      computer programming that 'there is always just one more bug'. Please 
  111.      tell me if you find it. If you don't tell me I can't fix it!
  112.  
  113.  
  114.                           --->> HOW TO REGISTER  <<---
  115.                                         
  116.      To make things easier I have made the last page of this Manual a 
  117.      registration form. Please fill it in and send it to me with your 
  118.      cheque for £8 at the address below. I will send you a copy of the 
  119.      latest version of the program and your personal Ab_Reg file which will 
  120.      disable the start-up message.
  121.  
  122.      The normal licence is for a single user on a single computer. If you 
  123.      are using more than one computer please contact me to ask about a site 
  124.      licence. I will often grant this without further fee.
  125.  
  126.      Use of this program in any EDUCATIONAL ESTABLISHMENT or for any 
  127.      EDUCATIONAL or TRAINING purposes without the express permission of the 
  128.      Author is STRICTLY FORBIDDEN. In the case of State Supported (ie. non 
  129.      fee paying) schools or colleges this will normally be granted without 
  130.      further charge.
  131.  
  132.  
  133.                         David Holden
  134.                         39 Knighton Park Road
  135.                         Sydenham
  136.                         London SE26 5RN
  137.  
  138.                          081 778 2659
  139.  
  140.                                                                    Page 2  
  141.  
  142.  
  143.  
  144.                          --->>  LICENCE TO COPY  <<---
  145.                                         
  146.  
  147.      You may only distribute copies of this program strictly subject to the 
  148.      following conditions.
  149.  
  150.  
  151.      1.   Any private individual may GIVE copies of this program to his/her 
  152.           friends subject only to the conditions in items 4 and 5 provided 
  153.           that no charge is made for the program or its transfer.
  154.  
  155.      2.   If you charge ANY fee for distributing this program, whether in 
  156.           cash or in kind, or if you run a BBS or other service from which 
  157.           Address Book is available you MUST ask for permission before 
  158.           distributing Address Book. Permission will not unreasonably be 
  159.           withheld from reputable distributors but I will treat as Breach 
  160.           of Copyright any person or organisation who distributes Address 
  161.           Book without this permission.
  162.  
  163.      3.   You may not charge a fee or fee in kind for the program or any 
  164.           additional material that you supply but you may charge a 
  165.           reasonable fee for media, postage and distribution costs.
  166.  
  167.      4.   You must copy the program complete with the !Run, !Boot, !Sprites 
  168.           and Manual (this) file and at least one example file. You may not 
  169.           make any alteration to the program or documentation although you 
  170.           may alter the !Run file to load an alternative example file or to 
  171.           suit the organisation of your distribution discs.
  172.  
  173.      5.   You must not under any circumstances distribute ANY version of 
  174.           the program which does not display the 'Start Up' message. You 
  175.           must ensure that you do not copy the Ab_Reg file. This is for the 
  176.           personal use of Registered users ONLY.
  177.  
  178.  
  179.  
  180.                                                                    Page 3  
  181.  
  182.  
  183.  
  184.                         --->>  USING ADDRESS BOOK  <<---
  185.                                         
  186.           General Description:
  187.  
  188.      Address Book is a  Relocatable Module, and so remains resident in the 
  189.      machine without affecting other programs, even those that don't multi 
  190.      task. It is a development of a 'Sideways RAM' program that I wrote for 
  191.      my own use on a Model 'B' and I have been using it in both 
  192.      incarnations for several years.
  193.  
  194.      All it's functions are operated by '*' commands so it can be accessed 
  195.      from the desktop or from within any competently written application, 
  196.      eg. Twin, from BASIC or even when using a program like Interword or 
  197.      Wordwise under the 6502 emulator. You can even insert Embedded 
  198.      Commands into the text with Interword or Wordwise for mail merging, 
  199.      etc. Because it is '*' command driven you can write very simple Basic 
  200.      programs which can be used to print labels, lists of phone numbers and 
  201.      so on. You are not limited to the facilities of 'normal' databases in 
  202.      this respect but anyone with an elementary knowledge if programming 
  203.      can easily write programs to produce lists as required.
  204.  
  205.      Version 1.6 upward also have a 'Hot Key' system which enables you to 
  206.      insert a name and address into your text when using most 
  207.      wordprocessors. This feature has been introduced for the first time in 
  208.      this version and is not guaranteed 'bug free'. It will be improved and 
  209.      expanded in future versions and your suggestions and reports of any 
  210.      errors are requested.
  211.  
  212.      Unlike most 'card index' databases the program does not use a fixed 
  213.      format for it's data but instead the data is text file prepared on any 
  214.      wordprocessor which can save text in ASCII format. Edit is ideal for 
  215.      this, but all W.P.'s have a way of saving a file as pure ASCII text. 
  216.      This means that there are no 'fields', no Surname, First Name, etc. 
  217.      but just a few 'markers' and a couple of simple rules.
  218.  
  219.      As well as name, address and phone number(s) each entry can also have 
  220.      'data' associated with it. This is just some text which can be any 
  221.      notes, etc. you wish to keep about the person. These notes are not 
  222.      limited in length or format. You could have 50 pages of text with an 
  223.      entry if you wished.
  224.  
  225.      As a self-employed contractor I find this invaluable. If someone 
  226.      phones me when I am in the middle of doing something one '*' command 
  227.      can display all the notes I have so that I can answer any queries 
  228.      instantly without upsetting what I am doing.
  229.  
  230.                                                                    Page 4  
  231.  
  232.  
  233.           Loading the Module:
  234.  
  235.      To load the module the command is  *RMLOAD ADDR_BOOK <filename> where 
  236.      <filename> is the full path and filename of the address file. In fact 
  237.      you should not normally use it in this way but simply 'double-click' 
  238.      on the !Addr_Book application icon.
  239.  
  240.      The !Run file on this disk will load the module by issuing this 
  241.      command with the name of the sample file 'ADDR_FILE'. You can either 
  242.      rename this file and substitute your own with the old name or edit the 
  243.      !Run file to contain the name of your own file.
  244.  
  245.      In this instance the file is in the application directory as this 
  246.      enables its path to be defined by the 'Obey$Dir' variable. This is not 
  247.      necessary. You can edit the !Run file to load any valid file.
  248.  
  249.      If you don't include <filename> or the module can't find the file it 
  250.      will be loaded and initialised correctly but it will not be able to 
  251.      respond to commands because it will have no data to respond with!
  252.  
  253.      The same problem can arise if the module is loaded correctly but is 
  254.      unable to claim it's workspace because there is not enough room in the 
  255.      RMA. This will normally only happen if you try to load the Module from 
  256.      the BASIC '>' prompt. If this happens you should *QUIT if you are in 
  257.      BASIC  or return to the desktop and increase the RMA area. You can 
  258.      then either *RMKILL ADDRESSBOOK and try again or use *ADRLOAD 
  259.      <filename> if the Module loaded but couldn't claim workspace.
  260.  
  261.      A similar difficulty can be experienced if you load the Module with a 
  262.      short file and then later use *ADRLOAD to try to load a longer file.
  263.  
  264.      If you for any reason a file is not loaded initially you can still use 
  265.      '*ADRLOAD' to load a file subsequently.
  266.  
  267.  
  268.           The 'Ab_Reg' file:
  269.  
  270.      This is special file encoded with the name of the registered user. If 
  271.      it is present in the application directory then the start-up message 
  272.      will be bypassed when you load the module. This file is for the 
  273.      personal use of Registered users ONLY. If you pass on copies of 
  274.      Address Book to your friends make sure that you do NOT give away 
  275.      copies of this file.
  276.  
  277.      The Ab_Reg file will work with any version of Address Book after 1.7 
  278.      so if you get a later version from a BBS or PD Library you can simply 
  279.      copy your Ab_Reg file into the !Addr_Book directory to disable the 
  280.      message. You can therefore get updates from any source.
  281.  
  282.      NOTE - Address Book searches for the Ab_Reg file as <Obey$Dir>.Ab_Reg 
  283.      so if you are not loading the module from the application directory as 
  284.      supplied you must ensure that Ab_Reg is present in the <Obey$Dir> path 
  285.      or you will get the start-up message and delay.
  286.  
  287.                                                                    Page 5  
  288.  
  289.  
  290.  
  291.  
  292.                            --->>  THE COMMANDS  <<---
  293.                                         
  294.      This section describes all the commands which control the Module. The 
  295.      command is shown with a short description of its effects and uses.
  296.  
  297.      Commands can be issued from the desktop by pressing F12 or from BASIC 
  298.      or any other language or application which offers a Command Line 
  299.      Interface.
  300.  
  301.      Because Address Book works in this way it is very easy to write a 
  302.      simple program in BASIC or any other language to print labels, print 
  303.      out an alphabetical list of telephone numbers etc. Some examples of 
  304.      the way in which this can be done are shown later.
  305.  
  306.       Note:  In the following descriptions a parameter enclosed by < > 
  307.      means it is compulsory, enclosed by [ ] means it is optional. All 
  308.      commands and parameters are case insensitive and can be abbreviated, 
  309.      eg. '*ADDRESS SMITH' is the same as '*addr. Smit'.
  310.  
  311.      When a command is abbreviated you should terminate it with a full 
  312.      stop. In this case there need not be a space between the command and 
  313.      any following parameter.
  314.  
  315.  
  316.           *NAME [name]
  317.  
  318.      This just displays the full name of the person followed by a space. 
  319.      Not a lot of use on it's own but it is useful for mail-merging when 
  320.      used with *NEXT or in it's other incarnation *CNAME.
  321.  
  322.      Used without [name] *NAME will display all the names in the file.
  323.  
  324.  
  325.           *ADDRESS [name]
  326.  
  327.      Displays the name and address of the person. Used without [name] it 
  328.      displays all the names and addresses.
  329.  
  330.  
  331.           *PHONE [name]
  332.  
  333.      Displays the name and phone number(s) of the person. Without [name] it 
  334.      displays all the names which have a phone number and their number(s).
  335.  
  336.  
  337.           *DATA [name]
  338.  
  339.      Displays name, address, phone number(s) and any text added to the 
  340.      entry. Again, without [name] it displays all the entries.
  341.  
  342.                                                                    Page 6  
  343.  
  344.  
  345.           *PADDRESS <name>
  346.  
  347.      (Print Address) This displays the name and address exactly as *ADDRESS 
  348.      but also sends the output to the printer. It was added to make it easy 
  349.      to address an envelope without using CTRL-B and CTRL-C and getting the 
  350.      BASIC '>' or OS '*' prompt printed.
  351.  
  352.  
  353.           *NEXT
  354.  
  355.      This displays the next entry in the file in the last used format. eg. 
  356.      if the last command was *ADDRESS <name> then *NEXT will print the name 
  357.      and address of the next person in the file.
  358.  
  359.      When you reach the end of the file it will 'wrap around' to the 
  360.      beginning. It can be used to step through the file or as an embedded 
  361.      command for mail merging or label printing with a simple BASIC 
  362.      program.
  363.  
  364.  
  365.           *PREV
  366.  
  367.      This is the same as *NEXT but it displays the previous entry and so 
  368.      steps backwards through the file.
  369.  
  370.      When it reaches the start of the file it will 'wrap around' to the 
  371.      last entry.
  372.  
  373.  
  374.           *FIND <string>
  375.  
  376.      This will search through all parts of all the records for <string>, 
  377.      which can be any text string. Each time it finds a record which 
  378.      contains <string> it will display the 'name'.
  379.  
  380.      For example to find everyone who lives in Chertsey you could use 
  381.      '*FIND Chertsey' or to find everyone who has a Fax machine you could 
  382.      use '*FIND #f'.
  383.  
  384.      You can then use the other commands to display more data on the names.
  385.  
  386.      An alternative is *ADRFIND to avoid conflict with Toolkit modules 
  387.      which may contain a 'FIND" command to find a text string or sequence 
  388.      of bytes somewhere in the computers memory.
  389.  
  390.  
  391.           *MORE
  392.  
  393.      This will search for the next match after a name, address, phone, etc. 
  394.      command. You can use it if your original command was not precise 
  395.      enough to give you exactly what you wanted.
  396.  
  397.      For example, if you wanted John Smith's phone number you could use 
  398.      '*PHONE SMI,J'. This would be O.K. unless you had a 'James Smith' as 
  399.      well. In this case '*MORE' would get the next match which should be 
  400.      'John Smith', unless of course you also had a 'Joan Smith', in which 
  401.      case you can just enter '*MORE' again.
  402.                                                                    Page 7  
  403.  
  404.  
  405.  
  406.           *SORT
  407.  
  408.      Sorts the entries into alphabetical order at the 'index point',(see 
  409.      below in section on file format). This is always done when a file is 
  410.      loaded so that the 'natural' state for a file is already sorted. This 
  411.      command may also be entered as *ADRSORT to avoid conflict with Toolkit 
  412.      Modules which may have a Sort utility.
  413.  
  414.  
  415.           *UNSORT
  416.  
  417.      Sounds fairly useless. How do you unsort a file and why would you want 
  418.      to? This command doesn't 'randomise' the entries but  actually 
  419.      restores the file to the order the entries were in when it was loaded. 
  420.      It is used for label printing, etc. where you may wish to print, for 
  421.      example, the first 20 addresses in the file which may not be the first 
  422.      20 alphabetically.
  423.  
  424.  
  425.           *ADRLOAD <filename>
  426.  
  427.      This loads and sets up a new address file without loading a new 
  428.      Module. It will replace the current file. It is possible for it to 
  429.      generate an 'Unable to claim workspace' error if the new file is 
  430.      longer than the original.
  431.  
  432.  
  433.           *ADRSAVE <filename>
  434.  
  435.      This will save the current file to disc as an ASCII text file 
  436.      <filename> with markers ready for reloading into Address Book or a 
  437.      W.P. for editing. This command will enable a sorted version of the 
  438.      original file to be created. Note that the end of line character will 
  439.      be the same as was used in the original, eg either CR or LF (ASCII 13 
  440.      or 10) so that you can load it back into the same editor you used when 
  441.      you created the original file.
  442.  
  443.  
  444.           *CNAME
  445.  
  446.      (Current Name) Displays the name of the last selected person. This has 
  447.      no use from the command line but is used in mail merging where it can 
  448.      be used as an embedded command in the text to print the name of the 
  449.      person.
  450.  
  451.  
  452.           *CADDRESS
  453.  
  454.      (Current Address) Works as *CNAME but displays the name and address.
  455.  
  456.                                                                    Page 8  
  457.  
  458.  
  459.  
  460.                            --->> THE 'HOT KEY' <<---
  461.                                         
  462.  
  463.           Method of operation:
  464.  
  465.      The aim of this feature is to enable you to insert the name and 
  466.      address of a person into the text as you type a letter. At present it 
  467.      is limited to name and address only although I will probably add a 
  468.      feature to insert the name only at a later date.
  469.  
  470.      It works by constantly checking for the ALT-SHIFT-INSERT combination 
  471.      and when it is found the complete name and address of the last 
  472.      accessed person is inserted into the keyboard buffer. This means that 
  473.      if you are using the desktop the characters will appear in whichever 
  474.      'Window' has the 'Input Focus' just as if you had typed it in. By 
  475.      using this method the 'Hot Key' will work with almost anything that 
  476.      accepts keyboard input.
  477.  
  478.  
  479.           How to use it:
  480.  
  481.      Place the cursor at the position you wish the name and address to 
  482.      appear. This would normally be at the left hand side at the top of the 
  483.      page if you are writing a letter and want to type the addressee's name 
  484.      and address. Now press F12 to get the CLI prompt and type 'ADDRESS 
  485.      <name>' where <name> is the person you are writing to. The name and 
  486.      address will be displayed and this enables you to check that it is the 
  487.      correct person, essential if you have abbreviated the name. If it's 
  488.      the wrong person you can either try again or use 'PREV' or 'NEXT'. 
  489.      When you have the correct person press RETURN on its own to get back 
  490.      to the desktop. Now hold down the ALT and SHIFT keys and press INSERT. 
  491.      The name and address should appear in your wordprocessor just as if 
  492.      you had typed them.
  493.  
  494.      Because Address Book is a Relocatable Module and not a desktop task 
  495.      all the '*' commands and the 'Hot Key' operate outside the Desktop 
  496.      environment. They even work with the 6502 Emulators so you can use the 
  497.      'Hot Key' from within Interword or other BBC wordprocessors.
  498.  
  499.  
  500.           Speed:
  501.  
  502.      I have restricted the speed at which characters are inserted into the 
  503.      keyboard buffer to to about 16 per second. This was found necessary 
  504.      because if this speed is exceeded then some programs, notably 
  505.      Pipedream, are unable to cope. The symptoms of this are lost 
  506.      characters or, in the case of Pipedream, an entire line of the address 
  507.      may disappear. Edit, for example, loses every fortieth character if 
  508.      the speed is too fast. First Word Plus appears to have properly 
  509.      buffered input and will accept the characters at any speed.
  510.  
  511.      This is of little consequence in practice as it only takes a few 
  512.      seconds for the complete address to appear, however I may make this 
  513.      delay variable in a later version.
  514.  
  515.  
  516.                                                                    Page 9  
  517.  
  518.  
  519.  
  520.                          --->>  THE FILE FORMAT  <<---
  521.                                         
  522.           General:
  523.  
  524.      This should be a text file without any formatting commands except as 
  525.      mentioned below in the 'data' section. It doesn't matter whether your 
  526.      W.P. uses an ASCII '10' or '13' for an end of line character, either 
  527.      will be accepted. You cannot use a LF/CR or CR/LF combination but this 
  528.      is not normal on the Archimedes so the problem should not arise.
  529.  
  530.      If you load the demonstration file 'ADDR_FILE' into Edit you will be 
  531.      able to see exactly how it is made up.
  532.  
  533.  
  534.           The Name:
  535.  
  536.      The first line is the 'name'. This should not have any leading spaces, 
  537.      if it does they will be stripped, but the following 'Address' lines 
  538.      can have leading spaces to 'slope' them if you wish. If you do not 
  539.      wish the entry to be sorted and matched by the start of this line then 
  540.      insert a '*' character at the point at which you do wish it to be 
  541.      matched; eg.
  542.  
  543.                         John *Smith
  544.  
  545.      This will be sorted as 'SmithJohn' and can be found by *NAME Smith. If 
  546.      you wish to distinguish John Smith from Fred Smith then you can use a 
  547.      comma in the command line to make the program return to the start of 
  548.      the line to continue matching, eg. *NAME SMI,J will find John Smith 
  549.      and reject Fred Smith. You should not put a space immediately after 
  550.      the '*' or it will be removed. If you wish the name to be printed as 
  551.      'John Smith' the entry should be 'John *Smith' and not 'John* Smith'
  552.  
  553.  
  554.           The Address:
  555.  
  556.      These are the lines following the name up to a '#', '$' or the end of 
  557.      the entry. If you don't have an address then just leave them out. The 
  558.      only compulsory line is the first line, all others are optional.
  559.  
  560.  
  561.           Phone Numbers:
  562.  
  563.      These follow the address. Each number should be on a new line and 
  564.      preceded by a '#'. If you immediately follow the '#' by a lower case 
  565.      'h' the program will display 'Home' before the number, if you use 'w' 
  566.      it will display 'Work' and if you use 'f' it will display 'Fax'.
  567.  
  568.                                                                    Page 10  
  569.  
  570.  
  571.           Data:
  572.  
  573.      This is any text after the phone numbers and preceded by a '$' marker. 
  574.      It can be any length and is printed out using the OS 'Pretty Print' 
  575.      routine. This means that it will be 'wordwrapped' (ie. words will not 
  576.      be split at the end of a line) and embedded Tabs (ascii 9) can be 
  577.      used.
  578.  
  579.      The fact that this is not a 'field' in the way that this word is used 
  580.      with a conventional database means that the text can be as long as you 
  581.      like. Because Address Book uses a text file as its data input you can 
  582.      import letters, estimates, reminders of things you want to say the 
  583.      next time the person phones etc. into this section if you wish.
  584.  
  585.      If you do this you must ensure that the imported text does not include 
  586.      two blank lines anywhere (see below).
  587.  
  588.      You could also use the OS dictionary in this section to compress the 
  589.      text if you wish. (See the P.R.M. for details of how to do this.)
  590.  
  591.  
  592.           End of Record:
  593.  
  594.      This is defined as THREE cr's in succession, ie. TWO blank lines. You 
  595.      can have more than two blank lines if you wish and the extra lines 
  596.      will just be added to the end of the 'data' text.
  597.  
  598.      Note that if you are using a file spooled from 'Interword' as your 
  599.      address file this puts a space before each cr but this doesn't matter 
  600.      as all spaces immediately before cr's are removed by the program.
  601.  
  602.  
  603.           File Rules Summary:
  604.  
  605.      From the foregoing you can see that there are only a few simple rules 
  606.      which you must obey.
  607.  
  608.      1.     You can't use '$' anywhere in the name, address or phone 
  609.             numbers but you CAN use it in the 'Data' section after the 
  610.             first '$' identifier
  611.  
  612.      2.     You can't use '#' anywhere but as a marker for a phone number
  613.  
  614.      3.     You can't put two blank lines anywhere in a record, but you can 
  615.             use a single blank line to separate paragraphs in the text or 
  616.             between address and phone numbers and/or phone numbers and text
  617.  
  618.                                                                    Page 11  
  619.  
  620.  
  621.  
  622.           Number of Records:
  623.  
  624.      In theory the maximum number of records is limited only by the 
  625.      available memory. In practice the Module contains a 'look-up' table 
  626.      which uses four bytes for each entry. As 2K has been allocated for 
  627.      this table in the program as supplied the maximum number of records 
  628.      supported is 512. If this number is exceeded an error message will be 
  629.      displayed and although the module will operate properly only the first 
  630.      512 records will be accessible.
  631.  
  632.      This will probably be sufficient for the vast majority of users but 
  633.      the program can easily be modified to accept more records if required. 
  634.      A program has been included to do this for you. First make a backup 
  635.      copy of the disc and work on the copy in case something goes wrong. If 
  636.      you are using the desktop open the application directory (hold down 
  637.      SHIFT and double-click on the application icon). Now double-click on 
  638.      the file 'SIZE', enter the number of records required when asked and 
  639.      the module IN THAT APPLICATION DIRECTORY will be changed to accept the 
  640.      required number of records. If you are not using the desktop you 
  641.      should *MOUNT the disk, enter *DIR !Addr_Book and then CHAIN 
  642.      "ChangeSize".
  643.  
  644.  
  645.           Simple Label Printer:
  646.  
  647.      This is a short BASIC program to show you how easy it is to use 
  648.      Address Book to print labels. The program will probably need to be 
  649.      changed to suit your printer and the size of the labels you are using 
  650.      and should be regarded as an example only.
  651.  
  652.      The label size used is on 2 inch centres one label wide. If you are 
  653.      using more than one label wide you will need to do a reverse Form Feed 
  654.      and increase the left margin when moving to the next horizontal label.
  655.  
  656.            10 REM Name and address of 1st person
  657.            20 *ADDRESS A.
  658.            30 REM Step back to last name ready for 1st
  659.            40 *PREV
  660.            50 VDU 2                 :REM Turn on printer
  661.            60 VDU 1,27,1,67,1,0,1,2 :REM Set page length to 2 inches
  662.            70 VDU 1,27,1,108,1,4    :REM Left Margin of 4
  663.            80 VDU 1,27,1,120,1,1    :REM Select N.L.Q.
  664.            90 FOR I%=1 TO 20        :REM Print first 20 addresses 
  665.           100 REM Print the name and address 
  666.           110 *NEXT 120 VDU 1,12              :REM Form feed to top of next 
  667.           label 
  668.           130 NEXT 140 VDU 1,27,1,64         :REM Reset the printer 
  669.           150 VDU 3                 :REM Turn off the printer
  670.  
  671.                                                                    Page 12  
  672.  
  673.  
  674.  
  675.           Making Text files of your data:
  676.  
  677.      There is no 'built in' means for doing this at present but I intend to 
  678.      introduce it in a later version. However it is possible to do so  
  679.      without special commands as it can be done by the Archimedes O.S. 
  680.      Press F12 and type 'SPOOL <filename> <RETURN>'. Don't use the same 
  681.      name as your original file or add a directory prefix. The disc drive 
  682.      will start up to 'open' the file. Now type 'DATA <RETURN>' (or PHONE 
  683.      for a list of phone numbers, etc.) The whole file in whatever format 
  684.      you requested will be shown on the screen and also sent to the disc. 
  685.      When this is finished and the drive has stopped type 'SPOOL <RETURN>' 
  686.      to close the file.
  687.  
  688.      If you load this file into Edit you will find you need to make two 
  689.      changes before you can do anything with it. First you must delete the 
  690.      first line which will be your 'DATA' (or whatever) command. Secondly 
  691.      each line will have a NL (ASCII 10) and a CR (ASCII 13). You need to 
  692.      delete one of these. The easiest way to do this is first position the 
  693.      cursor at the start of the text. Now press F4 for the 'Search and 
  694.      Replace' menu. Enter '\cM' (equivalent to CTRL-M which is ASCII 13) in 
  695.      the Search widow and nothing in the Replace window. Click on the 
  696.      'Magic characters' box. Now click on the 'Go' box. When the 'Found' 
  697.      window opens click on 'End of file Replace'. This will wipe out all 
  698.      the [0d]'s at the start of the lines. If you intend to load this file 
  699.      into a BBC wordprocessor such as View or Wordwise you will now need to 
  700.      press CTRL-F8 to change the NL's into CR's before Saving it.
  701.  
  702.  
  703.           Making a Phone Number list:
  704.  
  705.      If you want a printed list of telephone numbers you can use a similar 
  706.      technique to the previously described label printing program. Again 
  707.      this is only a simple example and if you wanted to make the page size 
  708.      suitable for inserting in your diary or Filofax etc. then you could 
  709.      alter the page size and use Condensed printing.
  710.  
  711.      10 VDU 2                      :REM Printer on 
  712.      20 VDU 1,27,1,78,1,8          :REM Set bottom margin to 8 lines 
  713.      30 *NEXT 
  714.      40 VDU 3                      :REM Printer off
  715.  
  716.       
  717.  
  718.  
  719.  
  720.                  Address Book Version 1.7 -- Registration form
  721.                                         
  722.        Please complete this form and send it with your cheque for £8 to:
  723.                                         
  724.          David Holden, 39 Knighton Park Road, Sydenham, London SE26 5RN
  725.      ______________________________________________________________________
  726.      Your Name and Address
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.      ______________________________________________________________________
  737.      Where did you obtain Address Book?
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.      ______________________________________________________________________
  747.      Have you had any problems?
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.      ______________________________________________________________________
  760.      Do you have any suggestions for improvements?
  761.