<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 24 Aug 2009 23:45:32 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: ANN: Updated Phone library

Oftel have started releasing 03 geographic telephone numbers, such
as Hampshire Police's 0300 123-1212 non-emergency contact number.
As such, I can no longer put off updating my Phone library to deal
with numbers outside the 01 and 02 ranges which could fit into a
4-byte integer.
 
The 'Phone' library at http://mdfs.net/blib provides functions to
display, store and retrive UK telephone numbers. Version 1.10 is an
update from the previous library that was only able to cope with 01
and 02 geographic ranges.
 
The library handles telephone numbers internally as 5-byte floats.
The 01 and 02 number ranges are still handled as 4-byte integers,
so the updated library can be used with existing code that only
deals with 01 and 02 numbers without any changes.
 
The library provides the following functions:
 
DEFFNPhone_FromStr(phone$) - Convert phone number string to value
DEFFNPhone_ToStr(number)   - Convert value to phone number string
DEFFNPhone_ToStrF(number)  - Convert value to formatted phone number
                             string.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
BBC IDE Hard Drive Interface - http://mdfs.net/Info/Comp/BBC/IDE
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>