home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ST-Computer Leser 1998 October
/
STC_CD_10_1998.iso
/
ONLINE
/
DFUE
/
NN_50
/
MISC
/
TELECONV
/
READ_ME
Wrap
Text File
|
1998-09-26
|
4KB
|
95 lines
Telephone conversion files
There are four NAMENET.TCV files, one in each folder
INTERNAT.TCV
Fairly full list of internationtal dialling codes
1995.TCV
Converts old-style (Pre-April 1995) UK telephone numbers to new
style
UK.TCV
UK telephone exchange look up
LO_1995
NameNet no longer has a built-in conversion for the change of
London telephone numbers from 01- to 081- or 071-. This TCV
file replaces it an converts to current 0181- and 0171- codes
Copy the one you require to the same folder as Namenet.prg.
These tables provides the data, not only for automatic
telephone connversion, but also for the Look-up menu option.
Look Up Tele Control/Y
This allows you to look up a number in a loaded .TCV file. This works in
either direction. Thus searching for FRANCE in the International list
will find +33. Looking for +33 will find France and Monaco. This entry
will not be present if no TCV file is loaded.
Editing .TCV files
To make your own you should use an ordinary text editor which can load and
save files in ASCII form.
The NAMENET.TCV file consists of a header and lines of text in pairs.
The first line of the header contains the text that will be shown in the
About NameNet information panel.
The second line sets the mode. This controls when the conversion is used.
If you have a very long list such as the UK dialling codes list, if you
are using a standard speed ST, this might slow down the display as each
phone number has to be checked with all the entries. The mode separately
enables conversion for the screen display, for use with the entry form and
for use with printed output. The recommended mode is 2. This enables
conversion on entry. However if you already have data which is not
converted then the other operations can be switched on.
/-------------------------------------------------------\
| Mode | Show (1) | Entry (2) | Print (4) |
|-------------------------------------------------------|
| 0 | off | off | off |
| 1 | on | off | off |
| 2 | off | on | off |
| 3 | on | on | off |
| 4 | off | off | on |
| 5 | on | off | on |
| 6 | off | on | on |
| 7 | on | on | on |
\-------------------------------------------------------/
The third line of the header contains the number of
lines in the file. This number is not critical. If it is set too
high then memory will be wasted. If it is set too low then long
files will take much longer to load.
The rest of the file consists of the conversion pairs. In each pair the
first line is the text to be looked for. The next line is the text that
will be substituted. There is no programmed limit to the number of
substitutes that can be entered.
ABC 5
071-123 5
ABC 4
071-123 4
ABC5
071-123 5
ABC4
071-123 4
ABC
071-123 5678 ext
Only the first match is used. This can also be used to allow you to use
the same data file at work and at home. This text would convert internal
numbers indicated by ABC to external numbers taking into account in this
case that numbers beginning with 4 or 5 are direct diallable but other
have to be obtained through the exchange. Notice the duplication to take
into account inconsistencies in putting a space after the ABC.