Page 1 of 1

Error en toexcel()

PostPosted: Thu Nov 24, 2022 10:54 pm
by artu01
Mr. RAO:
Este error fue reparado en el xbrowse.prg?
Code: Select all  Expand view

...
#ifndef __XHARBOUR__
   else
      //
      SysRefresh()
      //
      // This requires explanation.
      // With xHarbour there is no problem. Problem is with Harbour only
      // return value of this function is oSheet which is an Object. xHarbour returns as object
      // If SysRefresh() is called here, Harbour returns oSheet as an object
      // if not it returns an Array of two numeric elements.
      // I am unable to understand this phenomenon.
      // Till we understand what is happening, keep SysRefresh() here for
      // Harbour build.
      // 2015-06-02
#endif
   endif

return oSheet
 

Re: Error en toexcel()

PostPosted: Sat Nov 26, 2022 4:40 pm
by nageswaragunupudi
There is no error at all.
These comments are an explanation why "SysRefresh()" is used there.

ToExcel() works the with both xHarbour and Harbour the same way and you can use it with your version.