Re: [Lazarus] Debugging Wince shows NO debugger output

2013-11-14 Thread Sven Barth
Am 13.11.2013 22:49, schrieb Martin: On 13/11/2013 20:40, GREP wrote: Hi I could not get the breakpoints to work, I googled a lot, tried all the suggestions unsuccessfully. After a full day of trial I ended up that now the project does not show anything in the Debugger output window. I have

Re: [Lazarus] Debugging Wince shows NO debugger output

2013-11-14 Thread Sven Barth
Am 13.11.2013 21:40, schrieb GREP: Hi I could not get the breakpoints to work, I googled a lot, tried all the suggestions unsuccessfully. Did you find this bug report http://bugs.freepascal.org/view.php?id=21061 on your search? (and also the related ones) Regards, Sven --

Re: [Lazarus] Lazarus 1.2RC1 Ctrl-F9 not working

2013-11-14 Thread Henry Vermaak
On Wed, Nov 13, 2013 at 11:17:59PM +0100, Bart wrote: On 11/13/13, Mattias Gaertner nc-gaert...@netcologne.de wrote: Check your short cuts in your system settings. They take precedence over any normal application like the IDE. On my Fedora 18 / KDE Ctrl+F9 does something weird to the

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Reimar Grabowski
On Thu, 14 Nov 2013 07:19:56 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2013-11-13 19:42, schrieb Reimar Grabowski: 1 julian year = 365.25 days of 86400 SI seconds each. Of course there are lots of other definitions for year but if FPC uses the julian one the value is

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Reimar Grabowski
On Thu, 14 Nov 2013 07:56:16 +0100 Patrick Chevalley p...@ap-i.net wrote: All this efforts are to bypass the problem with the calendar year (the one you mention) because it is sometime 365 and sometime 366 days. This is a totally unacceptable definition when you need an homogeneous time

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Reimar Grabowski
On Wed, 13 Nov 2013 20:34:36 +0100 John Landmesser joh...@online.de wrote: What about Databases like mysql, Oracle, Firebird. I'm shure they have such a function. For MySQL: DATEDIFF(expr1,expr2) DATEDIFF() returns expr1 – expr2 expressed as a value in days from one date to the other. expr1

Re: [Lazarus] DateDif function needed

2013-11-14 Thread José Mejuto
El 14/11/2013 7:56, Patrick Chevalley escribió: All this efforts are to bypass the problem with the calendar year (the one you mention) because it is sometime 365 and sometime 366 days. This is a totally unacceptable definition when you need an homogeneous time scale. Hello, I was following

Re: [Lazarus] DateDif function needed

2013-11-14 Thread John Landmesser
On 14.11.2013 10:50, Reimar Grabowski wrote: For MySQL: DATEDIFF(expr1,expr2) DATEDIFF() returns expr1 – expr2 expressed as a value in days from one date to the other. expr1 and expr2 are date or date-and-time expressions. Only the date parts of the values are used in the calculation. :) R.

Re: [Lazarus] DateDif function needed

2013-11-14 Thread waldo kitty
On 11/14/2013 4:41 AM, Reimar Grabowski wrote: On Thu, 14 Nov 2013 07:19:56 +0100 Jürgen Hestermann juergen.hesterm...@gmx.de wrote: Am 2013-11-13 19:42, schrieb Reimar Grabowski: 1 julian year = 365.25 days of 86400 SI seconds each. Of course there are lots of other definitions for year

Re: [Lazarus] DateDif function needed

2013-11-14 Thread waldo kitty
On 11/14/2013 4:50 AM, Reimar Grabowski wrote: On Wed, 13 Nov 2013 20:34:36 +0100 John Landmesser joh...@online.de wrote: What about Databases like mysql, Oracle, Firebird. I'm shure they have such a function. For MySQL: DATEDIFF(expr1,expr2) DATEDIFF() returns expr1 – expr2 expressed as a

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Mattias Gaertner
On Thu, 14 Nov 2013 13:48:46 +0100 John Landmesser joh...@online.de wrote: [...] Our function delivers the age of a person in years, months, days. What is your diff between 31th Jan and 30 March 2013? Mattias -- ___ Lazarus mailing list

Re: [Lazarus] DateDif function needed

2013-11-14 Thread waldo kitty
On 11/14/2013 7:25 AM, José Mejuto wrote: Maybe I'm completly wrong ? you are completely right, IMHO... one simply needs to choose their desired base and level of error that is acceptable for their task's needs... the initial problem arose because there's no easy way to calc the desired

Re: [Lazarus] DateDif function needed

2013-11-14 Thread John Landmesser
On 14.11.2013 14:16, Mattias Gaertner wrote: On Thu, 14 Nov 2013 13:48:46 +0100 John Landmesser joh...@online.de wrote: [...] Our function delivers the age of a person in years, months, days. What is your diff between 31th Jan and 30 March 2013? Mattias --

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Junior
Frankly, this list from time to time ... Em 14-11-2013 11:10, John Landmesser escreveu: On 14.11.2013 14:16, Mattias Gaertner wrote: On Thu, 14 Nov 2013 13:48:46 +0100 John Landmesser joh...@online.de wrote: [...] Our function delivers the age of a person in years, months, days. What is

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Michael Schnell
On 11/14/2013 03:46 PM, Frederic Da Vitoria wrote: .. and where are we now?? Right in the middle of a very interesting discussion :-) -1 -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] DateDif function needed

2013-11-14 Thread waldo kitty
On 11/14/2013 8:16 AM, Mattias Gaertner wrote: On Thu, 14 Nov 2013 13:48:46 +0100 John Landmesser joh...@online.de wrote: [...] Our function delivers the age of a person in years, months, days. What is your diff between 31th Jan and 30 March 2013? the one i am currently testing returns

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Hans-Peter Diettrich
John Landmesser schrieb: Hihi, i asked a question about a DateDiff function for FreePascal, because i wanted to know: how many years, month, days left to work in Office until my pension begins on 01.08.2018. What do you consider as *one* year, month etc., fixed (average) values or calender

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Frederic Da Vitoria
2013/11/14 Michael Schnell mschn...@lumino.de On 11/14/2013 03:46 PM, Frederic Da Vitoria wrote: .. and where are we now?? Right in the middle of a very interesting discussion :-) -1 Well, everyone is entitled to his opinions, right, else we would all be doing C :-) -- Frederic

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Frederic Da Vitoria
2013/11/14 John Landmesser joh...@online.de Hihi, i asked a question about a DateDiff function for FreePascal, because i wanted to know: how many years, month, days left to work in Office until my pension begins on 01.08.2018. .. and where are we now?? Right in the middle of a very

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Bart
On 11/14/13, waldo kitty wkitt...@windstream.net wrote: you are completely right, IMHO... one simply needs to choose their desired base and level of error that is acceptable for their task's needs... It's all about definition. For me I would think that given today is the last day of a given

Re: [Lazarus] DateDif function needed

2013-11-14 Thread Jürgen Hestermann
Am 2013-11-14 07:56, schrieb Patrick Chevalley: So the difference between 2007-01-01 12:00 and 2008-01-01 12:00 ist *not* one year? No, the base definition of the year is not a digit change, but the time it take to the Earth to return at the same point of its orbit around the Sun. Well,

Re: [Lazarus] DateDif function needed

2013-11-14 Thread waldo kitty
On 11/14/2013 12:26 PM, Bart wrote: On 11/14/13, waldo kitty wkitt...@windstream.net wrote: you are completely right, IMHO... one simply needs to choose their desired base and level of error that is acceptable for their task's needs... It's all about definition. right... that's what i

Re: [Lazarus] DateDif function needed

2013-11-14 Thread waldo kitty
On 11/14/2013 12:48 PM, Jürgen Hestermann wrote: Am 2013-11-14 07:56, schrieb Patrick Chevalley: So the difference between 2007-01-01 12:00 and 2008-01-01 12:00 ist *not* one year? No, the base definition of the year is not a digit change, but the time it take to the Earth to return at