this bug bellow was reported by Carlos Galego on
xharbour.spanish.portuguese  news group

Function Inicio()
   SET DATE FORMAT TO "dd-mm-yyyy"
   PRIVATE mCaduca := CTOD("18-03-2011")
   __cFileMem:="dbedit.mem"
   __msave(__cFileMem,"*",.t.)

   QOut("Before RESTORE:  "+ValType(mCaduca))  // Type "D": is OK

   mCaduca = NIL
   __MRESTORE( __cFileMem, .T. )

   QOut("After RESTORE:  "+ValType(mCaduca))     // Type "T": is wrong

Return(NIL)

As you can see Valtype of mCaduca before restoring the var is type "D".
After restoring change to type "T" (U)

How can I fix this ?.




------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to