Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Rowan Thorpe
On 2015/01/14-14:37, Luis P. Mendes wrote: Hi, 2015-01-14 12:09 GMT+00:00 Alexander Burger a...@software-lab.de: I see. So Norway has different systematics with telephone numbers. I don't understand them, though. In Germany we have the rule that both 0049 123 456 and +49 123 456 are

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Luis P. Mendes
Hi, 2015-01-14 12:09 GMT+00:00 Alexander Burger a...@software-lab.de: I see. So Norway has different systematics with telephone numbers. I don't understand them, though. In Germany we have the rule that both 0049 123 456 and +49 123 456 are the same as 0123 456. The 00 to + conversion is of

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Jon Kleiser
Hi Alex, On 14. Jan, 2015, at 13:09, Alexander Burger a...@software-lab.de wrote: Hi Jon, I don’t quite get this. I have done as you suggested, (locale NO no) and leading 0, so I can now enter a phone number as 099887766. You say it will be stored internally with leading 47 instead of that

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Alexander Burger
Hi Jon, Luis, Rowan, thanks! I see that this problem is non-trivial. We need to extend the localization files loc/??.l Probably some functional expression or pattern needs to be stored there, in addition to (or as a replacement of) the country code '*CtryCode'. Perhaps the Google library gives

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Henrik Sarvell
Isn't this a non-issue, simply enter and store all numbers regardless of location with country code + number without leading zero, eg 4912345678? Will work for all countries everywhere, I never store numbers without the country code in my mobile nowadays and always works regardless if I'm in said

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Alexander Burger
On Wed, Jan 14, 2015 at 05:52:02PM +0100, Henrik Sarvell wrote: Isn't this a non-issue, simply enter and store all numbers regardless of location with country code + number without leading zero, eg 4912345678? Yes, as I said, simply use +TextField instead of +TelField. However, local

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Alexander Burger
Hi Jon, I don’t quite get this. I have done as you suggested, (locale NO no) and leading 0, so I can now enter a phone number as 099887766. You say it will be stored internally with leading 47 instead of that 0, but Right. You see that if you look directly into the DB. when I put the mouse

Re: A Minimal PicoLisp DB/GUI Application, Telephone field

2015-01-14 Thread Alexander Burger
On Wed, Jan 14, 2015 at 01:09:12PM +0100, Alexander Burger wrote: The '+TelField' (based on the functions 'telStr' and 'expTel') handles this. What are the exact rules for Norway? And how can we handle this flexibly? Alternatively, of course, you could replace '+TelField' with '+TextField'.