home *** CD-ROM | disk | FTP | other *** search
- This text file describes how Keystroke users can define their own
- special 'PhoneDay' application for their particular DataBase.
-
- We suggest you move the 'PhoneDay' BASIC function program to
- within the !KeysLib.Library directory in order for it to work correctly.
-
-
-
- PhoneDay v1.1
- -------------
- This function is designed to make 'PhoneDay' easy.
- In Britain, we are facing a large change of our phone numbers.
-
- British Telcom has told us that ALL 3 or 4 digit prefix codes in Britain will
- now be 4 or 5 digits with 01XXX or 01XX instead of 0XXX or 0XX.
- '081-123-45678' will become '0181-123-45678' or
- '0506-411162' will become '01506-411162'.
- But 5 towns are getting completely new codes and a prefix.
- With Jersey also having a minor change.
- Plus a lot of mobile (Vodaphone,CellNet,Orange,etc.), BT and Mercury number
- are remaining the same.
-
- These new dialling codes are valid NOW (28/9/94) and the old numbers will be
- obsolete from 16th April 1995. So change them as soon as possible.
-
- This program allows these numbers to be changed with ease.
-
- Run <Keystroke$Lib>.PhoneDay <parameter1>
-
- <parameter1>
- Simply the phone number you want to change or findout if it needs to be changed.
-
- Ideally this parameter would be made via the Keystroke Caret$text variable
- from reading a writable icon of a database of some sort.
-
- End result.
- The new phone number is contained within the system variable 'KSPhone'.
-
-
- Example of use:
- Imagine that the caret is visible within a writable icon of a
- database record and this icon has a telephone number in it.
-
- In this example the writable icon may read '0506 411162'.
-
- If Keystroke is set to do a -
- *command:
- Run <Keystroke$Lib>.PhoneDay <Caret$text>
-
- followed by a -
-
- Insert text:
- |U<KSPhone>
-
- When ran the '0506 411162' will be placed within the variable 'Caret$text'
- and examined by the function 'PhoneDay'.
- It will match up the first 4 digits of the phone number.
-
- The 'Insert text' command will delete the text within the database's telephone
- field and be replaced by the contents of 'KSPhone' which is now '01506 411162'.
-
-
- Other examples:
-
- Writable icon is 'Tel: 031-555-5704'
- Run <Keystroke$Lib>.PhoneDay <Caret$text>
- Gives 'Tel: 0131-555-5704' in variable KSPhone.
-
- Writable icon is 'Tel: 010 91 506 53416'
- Run <Keystroke$Lib>.Phoneday <Caret$text>
- Gives 'Tel: 00 91 506 534166' in variable KSPhone.
-
- You can imagine setting Keystroke to place the caret within a database
- telephone field and calling these two commands. Then advancing to the next
- record and looping back to the start of the Keystroke sequence until all
- of your database records are converted. This is a potential huge time saver
- over someone else doing it and perhaps making human errors!
-
- Lastly, we have provided an optional use variable called 'KSmatch'.
- It is always set to a specific value if certain conditions are met.
- KSmatch = 0 if no change to the phone number happened.
- KSmatch = 1 if the phone number was changed.
- KSmatch = 2 if no phone number was presented for checking! (a blank field?)
- KSmatch = 3 if the phone number has already been changed to 01XXX, etc.
-
- This KSmatch variable is only of use if you are wanting to create long complex
- Keystroke sequences.
-