FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Error en toexcel()
Posts: 400
Joined: Fri May 11, 2007 08:20 PM
Error en toexcel()
Posted: Thu Nov 24, 2022 10:54 PM
Mr. RAO:
Este error fue reparado en el xbrowse.prg?
Code (fw): Select all Collapse
...
#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
fwh 17.12, harbour 3.2.0, pelles C, bcc7, Ms-Sql
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Error en toexcel()
Posted: Sat Nov 26, 2022 04:40 PM

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.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion