error after new installation
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
error after new installation
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
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() }
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
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
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^^^^^^^^^^^^^^^^^^^
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
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
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
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
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>
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^^^^^^^^^^^^^^^^^
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
-
- Posts: 334
- Joined: Fri Oct 14, 2005 1:54 pm
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Ehab,
It is a bug in the Harbour compiler. Simply place a space ( " " ) in front of each line here and it will compile fine:
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