FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error with fget
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
error with fget
Posted: Fri Jun 27, 2008 08:32 AM
Antonio,

i tried to use the fget object.
When building the testfget.exe from the fwh samples you get an error when clicking 'information' from the format menu.

It looks like a typo :
tobject.prg => TFLINE:NALING(0)

I think it should be TFLINE:NALIGN().

Regards,
Detlef
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
error with fget
Posted: Sun Jun 29, 2008 12:04 PM

Antonio,

could you please, have a look to this issue?
Since the function doesn't belog to the provided source code of FWH i can't do this patch myself.

Thanks and regards,
Detlef

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
error with fget
Posted: Sun Jun 29, 2008 01:36 PM

We may make the corrections in the testfget.prg in our samples folder. Mr Antonio may fix the error in the next release.

The typo is only in the sample program, not in the libraries.

After you pointed out, I made these corrections in the testfget.prg

Line:217
local aAlign := { "LEFT", "CENTERED", "RIGHT" }

Line: 225
"Align: " + aAlign[ oLine:nAlign + 1 ] + CRLF +;

Now the sample works fine with this.

Regards



G. N. Rao.

Hyderabad, India
Posts: 312
Joined: Sat Oct 08, 2005 09:12 AM
error with fget
Posted: Sun Jun 29, 2008 02:29 PM

NageswaraRao,

yes, you are right. This sample works ok now.
Thanks for pointing me out that.

Moreover, the same patch is needed in the sample testfge2.prg.
( replace all 'aling' with 'align' )

Thanks and regards,
Detlef

Continue the discussion