AScan( ASort( AClone( a ) ), { | n, nPos | n := cToD(a:cargo["fecha"]), If( nVal < n, nResult := AScan( a, n) ) - 1,), cToD(n) > nVal } )
estás seguro de que ese código te funciona bien ?
If( x[ 1 ] == y[ 1 ], x[ 2 ] < y[ 2 ], x[ 1 ] < y[ 1 ] )
? 'UTF8toSTR OEM : ',hb_utf8tostr( cStr )
? 'UTF8toSTR ANSI: ',hb_oemtoansi( hb_utf8tostr( cStr ) )