Hi, Per SVN makefile, LIBMISC.LIB does not contain any utility relating to DATE matters; it only contains a single utility which is something like FT_F*() of Nanforum functions.
I guessed you are making your own LIBMISC which includes source programs locate in tests/misc. FYI, functions in this folder are no longer used as xHarbour common libraries; that's the reason why they were moved to tests folder. The use thereof is discouraged. As per your report, the function in subject (ADDMONTH) is a core function (LIBCT.LIB). It is advisable that tests/misc programs are not used in any application. Andi On Fri, 4 Nov 2011 12:24:35 +0200 Ella Stern <[email protected]> wrote: > Hello, > > Starting from a bugreport I confirm the following problem: when the LIBMISC > library is linked in, this code: > > >>>>>>>>>>>>>> > function main() > set date british > ? addmonth(ctod('01/01/12'),-2) > ? addmonth(ctod('01/01/12'),-12) > ? addmonth(ctod('01/01/12'),-13) > ? addmonth(ctod('01/01/12'),-1) > wait "end..." > return NIL > <<<<<<<<<<<<<< > > produces this output: > > >>>>>>>>>>>>>> > / / > 01/01/11 > 01/12/11 > 01/12/12 > end... > <<<<<<<<<<<<<< > When LIBMISC library is not linked in, the addmonth function works as > expected in the test code. > > > Ella ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ xHarbour-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xharbour-developers

