NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: debzidoodle on May 18, 2014, 07:22:11 AM

Title: Compile Errors when creating new controls NT 8.11
Post by: debzidoodle 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]
Title: Re: Compile Errors when creating new controls NT 8.11
Post by: Rene Simons on May 18, 2014, 10:56:39 AM
Hi,
Same for me.
René
Title: Re: Compile Errors when creating new controls NT 8.11
Post by: DonRidley on May 18, 2014, 02:36:01 PM
Duplicated the error here.  Attempted to add a button to a form.
Title: Re: Compile Errors when creating new controls NT 8.11
Post by: Bruce 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]
Title: Re: Compile Errors when creating new controls NT 8.11
Post by: Rene Simons on May 19, 2014, 04:08:52 AM
Bruce,
Thank you
Rene