Hi,

On Mon, Sep 14, 2009 at 1:40 PM, Enrico Maria Giordano
<e.m.giord...@emagsoftware.it> wrote:
> The following sample
>
> FUNCTION MAIN()
>
>    ? DATE() - DATE() % 5 = 0
>
>    INKEY( 0 )
>
>    RETURN NIL
>
> stops with Argument error % with Clipper or Harbour while prints .F. with
> xHarbour.

It's an xHarbour feature, probably not documented enough. Date values
can be used in numeric context.

-- Ph.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to