Re: [xHarbour-developers] bug with save to/ restore from with date type

2011-03-18 Thread Andi Jahja
On Fri, 18 Mar 2011 16:22:38 -0300 l...@xharbour.com.br wrote: this bug bellow was reported by Carlos Galego on xharbour.spanish.portuguese news group Function Inicio() SET DATE FORMAT TO dd-mm- PRIVATE mCaduca := CTOD(18-03-2011) __cFileMem:=dbedit.mem

Re: [xHarbour-developers] Bug in SAVE command

2010-01-06 Thread Ron Pinkas
Developers Mailing List xharbour-developers@lists.sourceforge.net Subject: [xHarbour-developers] Bug in SAVE command This is a sample of the problem: FUNCTION MAIN() PRIVATE V123456789 := 123 SAVE ALL LIKE V* TO TESTMVAR RESTORE FROM TESTMVAR ? V123456789 INKEY( 0 ) RETURN

Re: [xHarbour-developers] Bug in SAVE command

2010-01-06 Thread Enrico Maria Giordano
-Messaggio Originale- Da: Ron Pinkas ron.pin...@xharbour.com A: Enrico Maria Giordano e.m.giord...@emagsoftware.it; xHarbour Developers Mailing List xharbour-developers@lists.sourceforge.net Data invio: mercoledì 6 gennaio 2010 13.38 Oggetto: Re: [xHarbour-developers] Bug in SAVE

Re: [xHarbour-developers] Bug in SAVE command

2010-01-06 Thread Andi Jahja
Hi, My stupid fault :( Please change line 1927: hb_strncpy( ( char * ) buffer, pDynSymbol-pSymbol-szName, uMemLen - 1 ); to: hb_strncpy( ( char * ) buffer, pDynSymbol-pSymbol-szName, uMemLen ); I'm sorry for that :( -- Andi On Wed, 6 Jan 2010 14:06:14 +0100 Enrico Maria

Re: [xHarbour-developers] Bug in SAVE command

2010-01-06 Thread Enrico Maria Giordano
: [xHarbour-developers] Bug in SAVE command Hi, My stupid fault :( Please change line 1927: hb_strncpy( ( char * ) buffer, pDynSymbol-pSymbol-szName, uMemLen - 1 ); to: hb_strncpy( ( char * ) buffer, pDynSymbol-pSymbol-szName, uMemLen ); I'm sorry for that :( No problem

Re: [xHarbour-developers] Bug in SAVE TO

2009-05-01 Thread Miguel Angel Marchuet
THANK'S a lot , I still working on it, i upload it soon I'm trying to optimize a little xharbour DATETIME, as you know xharbour works with DATETIME as HB_IT_DATE with .time != 0 I'm removing != 0, and using HB_IT_TIMEFLAG , as i say in my last upload . it is work in progress. I want to

[xHarbour-developers] Bug in SAVE TO

2009-04-30 Thread Enrico Maria Giordano
Running the following sample FUNCTION MAIN() PRIVATE dTest IF !FILE( TEST.MEM ) dTest = DATE() ? dTest SAVE TO TEST ENDIF RESTORE FROM TEST ? dTest INKEY( 0 ) RETURN NIL I wrongly get 04/30/09 04/30/09 00:00:00.00 instead of 04/30/09