NetTalk Central

Author Topic: Bug in templates  (Read 2938 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Bug in templates
« on: December 06, 2013, 12:11:52 AM »
NetTalk 7.31

There is an error when I try to make new NetWebSource procedure. Code that is responsible for this error looks like this
      #PREPARE
        #if(not varexists(%DropList3))
          #DECLARE(%DropList3)
        #endif
        #SET(%DropList3,'Before <body>[101]|After <body>[201]|In Processed code[301]')
      #ENDPREPARE
This code is in NetWeb.TPW source file, line 451 and 453 same code causing an error is on line 15637 and 15639 for NetWebPage procedure.
I belive that this error could cause big problem in generated code.

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Bug in templates
« Reply #1 on: December 06, 2013, 09:36:05 AM »
what is the specific error?

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Bug in templates
« Reply #2 on: December 06, 2013, 11:06:46 AM »
TPL: (netweb.tpw) Error: Cannot declare a variable at this point - C:\Clarion9\accessory\template\win\netweb.tpw:451,11
TPL: (netweb.tpw) Error: variable %DropList3 is not defined - C:\Clarion9\accessory\template\win\netweb.tpw:453,9

This errors.

Regards,

Djole

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Bug in templates
« Reply #3 on: December 06, 2013, 08:17:04 PM »
It's harmless. Ignore.

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Bug in templates
« Reply #4 on: December 06, 2013, 09:41:38 PM »
Need to know.

Thanks Bruce

Best regards,

Djordje Radovanovic