error after new installation

error after new installation

Postby Ehab Samir Aziz » Thu Dec 21, 2006 4:20 pm

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
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » Thu Dec 21, 2006 6:51 pm

Ehab,

What source code do you have at 302 ?

sitex.prg(302) Error E0030 Syntax error: "parse error at '@'"
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Ehab Samir Aziz » Thu Dec 21, 2006 8:46 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  Expand view

   @ 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() }

Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » Thu Dec 21, 2006 8:54 pm

Ehab,

Try removing this (red color):

cValToChar( RecCount() ) );
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Ehab Samir Aziz » Fri Dec 22, 2006 4:52 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


Code: Select all  Expand view
   @ 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^^^^^^^^^^^^^^^^^^^


Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby James Bott » Fri Dec 22, 2006 5:24 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Ehab Samir Aziz » Fri Dec 22, 2006 7:30 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>

Code: Select all  Expand view
ON CHANGE oLbx:Say( "Rec: " + cValToChar( RecNo() ) ) ;
SIZE 480, 280 OF custDlg
*^^^^^^^^^^^^line 301^^^^^^^^^^^^^^^^^
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby James Bott » Fri Dec 22, 2006 8:24 pm

Ehab,

The file you sent compiles without error for me.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Ehab Samir Aziz » Sat Dec 23, 2006 8:30 am

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 .
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » Sat Dec 23, 2006 8:35 am

Ehab,

Are you using the [x]Harbour build that we distribute or do you build it from the [x]Harbour CVS ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Ehab Samir Aziz » Sat Dec 23, 2006 11:04 am

No I used the one you distribute.
Ehab Samir Aziz
 
Posts: 334
Joined: Fri Oct 14, 2005 1:54 pm

Postby Antonio Linares » Sat Dec 23, 2006 11:29 am

Ehab,

Please remove all CH files in your harddisk, before installing Harbour and FWH.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Tue Dec 26, 2006 9:14 pm

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  Expand view
   @ 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests