Error en toexcel()

Error en toexcel()

Postby artu01 » Thu Nov 24, 2022 10:54 pm

Mr. RAO:
Este error fue reparado en el xbrowse.prg?
Code: Select all  Expand view  RUN

...
#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
artu01
 
Posts: 400
Joined: Fri May 11, 2007 8:20 pm
Location: Lima

Re: Error en toexcel()

Postby nageswaragunupudi » Sat Nov 26, 2022 4: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
User avatar
nageswaragunupudi
 
Posts: 10648
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: wilsongamboa and 20 guests