[REBOL] Re: Rebol Enhancement Proposal - Telephone numbers
From: dlhawley:home at: 20-Apr-2001 9:49
The Telephone/local below would actually break or at least be
more complicated in Oregon where we have gone to 10 digit dialing.
Some nonesense about too many cell phones and pagers... I think
that it would have made a lot of sense to put them on their own area code(s), but the
Previously, you (Andrew Martin) 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
> [rebol-request--rebol--com] with "unsubscribe" in the
> subject, without the quotes.
David L. Hawley D.L. Hawley and Associates 1.503.274.2242
Software Engineer [David--L--Hawley--computer--org]