Page 1 of 1
error after new installation
Posted: Thu Dec 21, 2006 4:20 pm
by Ehab Samir Aziz
That error disappeared in previous installations becuase every time I install I remove the lib,include from the previous installation directory. This installation I remove lib,include directory and I faced it again.
That error most proberly related to include directory. I remove the old one and then I installed the new version 6.12.
Thanks
FiveWin for Harbour 6.12 - December 2006 Harbour development power
(c) FiveTech, 1993-2006 for Microsoft Windows 95/98/NT/2000/ME and XP
Compiling...
Harbour Compiler Alpha build 46.2 (Flex)
Copyright 1999-2006,
http://www.harbour-project.org/
Compiling 'sitex.prg' and generating preprocessed output to 'sitex.ppo'...
sitex.prg(302) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(448) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(456) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(933) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(1636) Error E0030 Syntax error: "parse error at '{|'"
5 errors
No code generated
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2194: Could not find file 'sitex.c'
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'SITEX.OBJ'
* There are errors
E:\programs\clipper\FWH\sitex>edit sitex.prg
Posted: Thu Dec 21, 2006 6:51 pm
by Antonio Linares
Ehab,
What source code do you have at 302 ?
sitex.prg(302) Error E0030 Syntax error: "parse error at '@'"
Posted: Thu Dec 21, 2006 8:46 pm
by Ehab Samir Aziz
I do not beleive there is something in the code. Last time of installation when I got the same error I erased the old include,lib dir and installed the new one . It worked fine.
Code: Select all
@ 1, 1 LISTBOX oLbx FIELDS;
cust->CU_ACCT,;
cust->CU_appr,;
cust->cu_stre,;
cust->cu_coun,;
cust->cu_city,;
cust->cu_gove,;
cust->CU_phon,;
cust->CU_fax,;
cust->CU_MAN,;
cust->CU_mobi,;
cust->CU_NAME;
HEADERS "Account No.",;
"Aprreviation",;
"Street",;
"Country",;
"City",;
"Governer",;
"Phone",;
"Fax",;
"Customer Man",;
"Customer Mobile",;
"NAME";
ON CHANGE oLbx:Say( "Rec: " + cValToChar( RecNo() ) + "/" + ;
cValToChar( RecCount() ) );
Line 302^^^^SIZE 480, 280 OF custDlg
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@14,35 SAY oRec OF custDlg
// Lets use different row colors
oLbx:nClrText = { || SelColor( 3 ) }
oLbx:nClrForeFocus = { || SelColor( 3 ) }
// Uncomment this to quickly calculate the desired columns width
// Right click with the mouse over the browse and you will
// see the columns sizes!
oLbx:bRClicked = { || oLbx:ShowSizes() }
Posted: Thu Dec 21, 2006 8:54 pm
by Antonio Linares
Ehab,
Try removing this (red color):
cValToChar( RecCount() ) );
Posted: Fri Dec 22, 2006 4:52 pm
by Ehab Samir Aziz
Compiling...
Harbour Compiler Alpha build 46.2 (Flex)
Copyright 1999-2006,
http://www.harbour-project.org/
Compiling 'sitex.prg' and generating preprocessed output to 'sitex.ppo'...
sitex.prg(301) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(446) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(454) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(931) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(1634) Error E0030 Syntax error: "parse error at '{|'"
5 errors
No code generated
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2194: Could not find file 'sitex.c'
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'SITEX.OBJ'
* There are errors
Code: Select all
@ 1, 1 LISTBOX oLbx FIELDS;
cust->CU_ACCT,;
cust->CU_appr,;
cust->cu_stre,;
cust->cu_coun,;
cust->cu_city,;
cust->cu_gove,;
cust->CU_phon,;
cust->CU_fax,;
cust->CU_MAN,;
cust->CU_mobi,;
cust->CU_NAME;
HEADERS "Account No.",;
"Aprreviation",;
"Street",;
"Country",;
"City",;
"Governer",;
"Phone",;
"Fax",;
"Customer Man",;
"Customer Mobile",;
"NAME";
ON CHANGE oLbx:Say( "Rec: " + cValToChar( RecNo() ) + "/" ;
SIZE 480, 280 OF custDlg
*^^^^^^^^line 301^^^^^^^^^^^^^^^^^^^
....
....
oGet2:Refresh(),oDlg:Refresh());
VALID (reset( v_ci_cocmbo, oCbx3, "cust","cu_gove","cu_city" ), .t.)
*^^^^^^^^line 446^^^^^^^^^^^^^^^^^^^
....
....
ON CHANGE ( oGet3:VarPut( PADR( v_go_cocmbo, 30 ) ),;
oGet3:Refresh(),oDlg:Refresh())
*^^^^^^^^line 454^^^^^^^^^^^^^^^^^^^
....
....
"Minimum Volume";
SIZE 480, 280 OF oDlg
*^^^^^^^^line 931^^^^^^^^^^^^^^^^^^^
....
....
200,200,200,200;
SIZE 480, 280 OF oDlg
*^^^^^^^^line 1634^^^^^^^^^^^^^^^^^^^
Posted: Fri Dec 22, 2006 5:24 pm
by James Bott
Ehab,
This line is wrong:
ON CHANGE oLbx:Say( "Rec: " + cValToChar( RecNo() ) + "/" ;
Try this:
ON CHANGE oLbx:Say( "Rec: " + cValToChar( RecNo() ) ) ;
I might point out that the recno is pretty much useless to anyone except a programmer and then only for testing (maybe that is what you are doing). Since the recno for a record can change, it can really confuse a user (they think it is a fixed ID No).
James
Posted: Fri Dec 22, 2006 7:30 pm
by Ehab Samir Aziz
No the same error .
May I send copy of the application files to private mails.
Compiling...
Harbour Compiler Alpha build 46.2 (Flex)
Copyright 1999-2006,
http://www.harbour-project.org/
Compiling 'sitex.prg' and generating preprocessed output to 'sitex.ppo'...
sitex.prg(301) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(446) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(454) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(931) Error E0030 Syntax error: "parse error at '@'"
sitex.prg(1634) Error E0030 Syntax error: "parse error at '{|'"
5 errors
No code generated
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2194: Could not find file 'sitex.c'
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'SITEX.OBJ'
* There are errors
E:\programs\clipper\FWH\sitex>
Code: Select all
ON CHANGE oLbx:Say( "Rec: " + cValToChar( RecNo() ) ) ;
SIZE 480, 280 OF custDlg
*^^^^^^^^^^^^line 301^^^^^^^^^^^^^^^^^
Posted: Fri Dec 22, 2006 8:24 pm
by James Bott
Ehab,
The file you sent compiles without error for me.
James
Posted: Sat Dec 23, 2006 8:30 am
by Ehab Samir Aziz
That is what I told you both together . That is a matter related to old files . I removed all *.obj . *.exe in my directory . I removed old directories of installation \harbour,\FWH. I need advice what else to remove and reinstall .
Posted: Sat Dec 23, 2006 8:35 am
by Antonio Linares
Ehab,
Are you using the [x]Harbour build that we distribute or do you build it from the [x]Harbour CVS ?
Posted: Sat Dec 23, 2006 11:04 am
by Ehab Samir Aziz
No I used the one you distribute.
Posted: Sat Dec 23, 2006 11:29 am
by Antonio Linares
Ehab,
Please remove all CH files in your harddisk, before installing Harbour and FWH.
Posted: Tue Dec 26, 2006 9:14 pm
by Antonio Linares
Ehab,
It is a bug in the Harbour compiler. Simply place a space ( " " ) in front of each line here and it will compile fine:
Code: Select all
@ 1, 1 LISTBOX oLbx FIELDS;
cust->CU_ACCT,;
cust->CU_appr,;
cust->cu_stre,;
cust->cu_coun,;
cust->cu_city,;
cust->cu_gove,;
cust->CU_phon,;
cust->CU_fax,;
cust->CU_MAN,;
cust->CU_mobi,;
cust->CU_NAME;
HEADERS "Account No.",;
"Aprreviation",;
"Street",;
"Country",;
"City",;
"Governer",;
"Phone",;
"Fax",;
"Customer Man",;
"Customer Mobile",;
"NAME";
SIZE 480, 280 OF custDlg