NetTalk Central

Author Topic: Compile Errors when creating new controls NT 8.11  (Read 3705 times)

debzidoodle

  • Jr. Member
  • **
  • Posts: 98
    • View Profile
    • Email
Compile Errors when creating new controls NT 8.11
« on: May 18, 2014, 07:22:11 AM »
Hi All
When I create a new control in a page using NT 8.11 I am getting compile errors.  Here is an example of the code that it is failing on.  How do I resolve " = p_web.MakeWebRelative()"?  Attached is the clw

Code: [Select]
 ! tab = 4
      If not (p_web.gsv('qbResult')='')
        loc:InvalidTab += 1
        do ValidateValue::btnAddAll
        If loc:Invalid then exit.
         = p_web.MakeWebRelative()
        do ValidateValue::BrowseQB_Items
        If loc:Invalid then exit.
         = p_web.MakeWebRelative()
      End
  ! tab = 2

Errors:

No matching prototype available - c:\Project\PTOM_Online332.clw:1963,33
Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE ELSE ELSIF END INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - c:\Project\PTOM_Online332.clw:1963,10
No matching prototype available - c:\Project\PTOM_Online332.clw:1966,33
Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE ELSE ELSIF END INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - c:\Project\PTOM_Online332.clw:1966,10
No matching prototype available - c:\Project\PTOM_Online332.clw:1973,33
Expected: <statement> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE ELSE ELSIF END INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - c:\Project\PTOM_Online332.clw:1973,10

And yes, I am on StringTheroy 2.05

[attachment deleted by admin]
« Last Edit: May 18, 2014, 08:19:14 AM by debzidoodle »

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Compile Errors when creating new controls NT 8.11
« Reply #1 on: May 18, 2014, 10:56:39 AM »
Hi,
Same for me.
René
Rene Simons
NT14.14

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Compile Errors when creating new controls NT 8.11
« Reply #2 on: May 18, 2014, 02:36:01 PM »
Duplicated the error here.  Attempted to add a button to a form.
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile Errors when creating new controls NT 8.11
« Reply #3 on: May 18, 2014, 11:21:18 PM »
Thanks for the report - I've fixed this for 8.12, but I've also attached the TPW so you can apply the fix in the short term.
That attached TPW file belongs in the \clarion\accessory\template\win folder.



[attachment deleted by admin]

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Compile Errors when creating new controls NT 8.11
« Reply #4 on: May 19, 2014, 04:08:52 AM »
Bruce,
Thank you
Rene
Rene Simons
NT14.14