NetTalk Central

Author Topic: Compile Error OT  (Read 3217 times)

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Compile Error OT
« 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]
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile Error OT
« Reply #1 on: June 03, 2011, 10:13:36 PM »
Post the whole clw.

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Compile Error OT
« Reply #2 on: June 04, 2011, 07:12:02 AM »
clw attached

[attachment deleted by admin]
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Compile Error OT
« Reply #3 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 :)
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186