NetTalk Central

Author Topic: Compile error on upgrade from 10.5 to nettalk 10.6  (Read 3857 times)

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Compile error on upgrade from 10.5 to nettalk 10.6
« on: September 12, 2017, 12:59:19 PM »
in the ExampleJsonRequest routine of a netwebservice I get the following compile errors for each input parameter

Must specify identifier - C:\Users\Public\Documents\SoftVelocity\Clarion10\Solutions\ClaimsApi\ClaimsApi005.clw:3693,33
Unknown identifier: CLAIMNUMBER - C:\Users\Public\Documents\SoftVelocity\Clarion10\Solutions\ClaimsApi\ClaimsApi005.clw:3693,21

the line in the code is :

  collection.append(ClaimNumber,'**value**')

see attachment for a screen shot

MikeR

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
    • Email
Re: Compile error on upgrade from 10.5 to nettalk 10.6
« Reply #1 on: September 12, 2017, 01:24:26 PM »
I think I found the bug in the template generated code Bruce.
The tagname must be in quotes:
eg.
collection.append('ClaimNumber','***value***')

not collection.append(ClaimNumber,'***value***')



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Compile error on upgrade from 10.5 to nettalk 10.6
« Reply #2 on: September 13, 2017, 04:19:17 AM »
thanks - fixed in 10.07