Thank you!
Ella
On Thu, Nov 10, 2011 at 4:19 AM, Andi Jahja <andi.ja...@yahoo.co.id> wrote:
> Fixed.
>
> Andi
>
> On Wed, 9 Nov 2011 19:32:56 +0200
> Ella Stern <ella.st...@xharbour.com> wrote:
>
> > Hello,
> >
> >
> > The below code throws RTE when trying to add a fractional number to a
> > DateTime value:
> >
> > function main()
> > local dDateTime := "201111091230"
> >
> > ? "{^ 2011/11/09 12:30:00 }+1"
> > ? {^ 2011/11/09 12:30:00 }+1
> >
> > ? "{^ 2011/11/09 12:30:00 }+1/24"
> > ? {^ 2011/11/09 12:30:00 }+1/24 // error
> >
> > ? "{^ 2011/11/09 12:30:00 }+1/(24*60)"
> > ? {^ 2011/11/09 12:30:00 }+1/(24*60) // error
> >
> > ? "ddatetime"
> > ? dDateTime
> >
> > ? "ddateTime + 1/(24*60)"
> > dDateTime := dDateTime + 1/(24*60) // error
> > ? dDateTime
> >
> > wait "end..."
> > return nil
> >
> >
> > Here is the related error LOG:
> >
> > |{^ 2011/11/09 12:30:00
> > }+1 |
> > |11/10/11
> > 12:30:00.000 |
> > |{^ 2011/11/09 12:30:00
> > }+1/24 |
> > |Error BASE/1081 Argument error: + Arguments: ( [ 1] = Type: T Val:
> > 201111091230|
> > |00.000 [ 2] = Type: N Val:
> > 0.04) |
> > |
> > |
> > |Error at ...: MAIN(9) in Module:
> > test.prg |
> >
> >
> > Ella
>
>
>
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers