error with fget

Post Reply
User avatar
Detlef Hoefner
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany
Contact:

error with fget

Post by Detlef Hoefner »

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 :

Code: Select all

tobject.prg => TFLINE:NALING(0)
I think it should be TFLINE:NALIGN().

Regards,
Detlef
User avatar
Detlef Hoefner
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany
Contact:

Post by Detlef Hoefner »

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
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Post by nageswaragunupudi »

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
User avatar
Detlef Hoefner
Posts: 312
Joined: Sat Oct 08, 2005 9:12 am
Location: Germany
Contact:

Post by Detlef Hoefner »

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
Post Reply