FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour LOG-> error? Understand now
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
LOG-> error? Understand now
Posted: Thu Jun 27, 2013 02:56 AM
Dear Antonio,

I've use Alias "LOG" in my application but in a update version, it got an error. I don't know which one (FWH or xHB) has reserve "LOG" word for alias and it got an error as below.
Code (fw): Select all Collapse
D:\V5\EZ4FO\EZCLOSE.PRG(3023) Error E0030  Syntax error: "syntax error at '{'"

This line has been contained as below.
Code (fw): Select all Collapse
LOG->(DbGotop())

Thanks for an explanation.
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: LOG-> error?
Posted: Thu Jun 27, 2013 08:11 AM
The sample below works fine with latest xHarbour from SVN:

Code (fw): Select all Collapse
FUNCTION MAIN()

    DBCREATE( "MYTEST", { { "TEST", "C", 35, 0 } } )

    USE MYTEST ALIAS LOG

    ? LOG -> test

    RETURN NIL


EMG
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: LOG-> error?
Posted: Thu Jun 27, 2013 09:08 AM

I also must change a alias "LOG" to another name. (since FWH 13.05!?)

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: LOG-> error?
Posted: Thu Jun 27, 2013 09:53 AM

Sorry, this is due to a new command translate LOG at the end of fivewin.ch
Please comment it out if you don't need or rename it.

We shall change this name to something else in this new relase to avoid any conflicts.

Anyway this is very useful command for debugging during development

Regards



G. N. Rao.

Hyderabad, India
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: LOG-> error?
Posted: Thu Jun 27, 2013 10:24 AM

Dear Mr.Rao,

Thank you for your information, I got it now.

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion