NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Djordje Radovanovic on December 06, 2013, 12:11:52 AM

Title: Bug in templates
Post by: Djordje Radovanovic 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
Title: Re: Bug in templates
Post by: Bruce on December 06, 2013, 09:36:05 AM
what is the specific error?
Title: Re: Bug in templates
Post by: Djordje Radovanovic 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
Title: Re: Bug in templates
Post by: Bruce on December 06, 2013, 08:17:04 PM
It's harmless. Ignore.
Title: Re: Bug in templates
Post by: Djordje Radovanovic on December 06, 2013, 09:41:38 PM
Need to know.

Thanks Bruce

Best regards,

Djordje Radovanovic