some countries, eg. Singapore, do not have Area Codes.
so a typical Singapore number will be +65-2322724
where 65 is the International number.

the datatype should also not enforced or required that
the user enter the International number. Uses normally

only enter International numbers for overseas contact.

just a thought
YekSoon

--- Andrew Martin <[EMAIL PROTECTED]> wrote:
> How about adding the telephone number to Rebol? For
> example:
>         Telephone: +64-6-8354110
>         >> type? Telephone
>         == telephone!
>     It would behave a lot like the issue! datatype,
> but have telephone!
> datatype. Refinements could include:
>         >> Telephone/International
>         == +64
>         >> Telephone/National
>         == 6
>         >> Telephone/Local
>         == 8354110
>     The rebol parser rule could be:
>         "+" some Digit "-" some Digit "-" some Digit
> 
> The only trouble I have at the moment is determining
> if is this pattern
> would be suitable for other countries. While this
> works for NZ, it might not
> work for other nations. Any one know if this
> wouldn't work for them?
> 
> Andrew Martin
> ICQ: 26227169 http://members.nbci.com/AndrewMartin/
> -><-
> 
> 
> -- 
> To unsubscribe from this list, please send an email
> to
> [EMAIL PROTECTED] with "unsubscribe" in the 
> subject, without the quotes.
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to