LOG-> error? Understand now

LOG-> error? Understand now

Postby dutch » Thu Jun 27, 2013 2: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: Select all  Expand view
D:\V5\EZ4FO\EZCLOSE.PRG(3023) Error E0030  Syntax error: "syntax error at '{'"

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

Thanks for an explanation.
Last edited by dutch on Fri Jun 28, 2013 1:52 am, edited 1 time in total.
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: LOG-> error?

Postby Enrico Maria Giordano » Thu Jun 27, 2013 8:11 am

The sample below works fine with latest xHarbour from SVN:

Code: Select all  Expand view
FUNCTION MAIN()

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

    USE MYTEST ALIAS LOG

    ? LOG -> test

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: LOG-> error?

Postby byte-one » Thu Jun 27, 2013 9:08 am

I also must change a alias "LOG" to another name. (since FWH 13.05!?)
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: LOG-> error?

Postby nageswaragunupudi » Thu Jun 27, 2013 9: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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: LOG-> error?

Postby dutch » Thu Jun 27, 2013 10:24 am

Dear Mr.Rao,

Thank you for your information, I got it now.
Regards,
Dutch

FWH 19.01 / 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)
User avatar
dutch
 
Posts: 1542
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests