NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on June 03, 2011, 07:07:36 AM

Title: Compile Error OT
Post by: terryd on June 03, 2011, 07:07:36 AM
I've done 100's of these but I just can't see the reason I am getting compile errors. Please excuser me the only reason I am posting here is that this is a standard source procedure within a Nettalk application. The attaached txt file is the source for the procedure
The section below is where I am getting compile errors (C7 and C8) I have copied and pasted the errors below the line that the compile error report points to:
WebOrder2 is a local variable defined in the data section of this procedure so I can't work out why there is a problem with that line
WOR:WebOrderID is the primary variable in the WOrder table
In the GET line WOrder is a table in the opened Schema and PK_WOrderID is the Primary key.

I know I am doing something wrong but I can't for the life of me figure out what.
ANY help greatly appreciated
WebOrderID = 2
!Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE RAISE TRY BEGIN  - !C:\ins\Data\cwprog\Clarion8\IserWeb4\DOrders013.clw:5262,12
WOR:WebOrderID = WebOrderID
!Unknown procedure label - C:\ins\Data\cwprog\Clarion8\IserWeb4\DOrders013.clw:5263,18
GET(WOrder,WOR:PK_WOrderID)
!Variable expected - C:\ins\Data\cwprog\Clarion8\IserWeb4\DOrders013.clw:5264,12                                               
!Expected: <operator> ( ) [ &= { @ .  - C:\ins\Data\cwprog\Clarion8\IserWeb4\DOrders013.clw:5264,11
DO CloseFiles

[attachment deleted by admin]
Title: Re: Compile Error OT
Post by: Bruce on June 03, 2011, 10:13:36 PM
Post the whole clw.
Title: Re: Compile Error OT
Post by: terryd on June 04, 2011, 07:12:02 AM
clw attached

[attachment deleted by admin]
Title: Re: Compile Error OT
Post by: terryd on June 06, 2011, 01:54:22 AM
Solved
Clarion7/8 does not have the red font warning that 6 does to advise that you should code using the first column in source. Well It may have but I haven't found out where to set it yet :)