NetTalk Central

Author Topic: PR29 Webserver TYPEd structure error  (Read 2953 times)

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
PR29 Webserver TYPEd structure error
« on: August 18, 2010, 07:57:07 AM »
I am trying to compile example 56 - menus in PR29
This worked last night with PR26 so I thought I'd update... :(

Here is the code-
  s_web._SitesQueue.Defaults..TextValue = clip('Upload') !s_web.Translate('Upload',Net:HtmlOk) ! button text will be cleaned later on.
  s_web._SitesQueue.Defaults..Class = ''
  s_web._SitesQueue.Defaults..ToolTip = clip('Click here to Upload the file') !s_web.Translate('Click here to Upload the file')
  s_web._SitesQueue.Defaults..JsIcon = ''

Here are the 3 errors that repeat for the next 100 lines-
Cannot use TYPEd structure in this way - C:\Documents and Settings\All Users\Documents\C7Projects\My Examples\menus (56)\web56c001.clw:213,31
 Expected: <statement> <EOF> <INT> <REAL> <DECIMAL> <STRING> <LINEBREAK> ( ; ACCEPT ASSERT CHOOSE INCLUDE OMIT RAISE TRY SECTION COMPILE BEGIN PRAGMA  - C:\Documents and Settings\All Users\Documents\C7Projects\My Examples\menus (56)\web56c001.clw:213,29
Unknown procedure label - C:\Documents and Settings\All Users\Documents\C7Projects\My Examples\menus (56)\web56c001.clw:213,3
Real programmers use copy con newapp.exe

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: PR29 Webserver TYPEd structure error
« Reply #1 on: August 19, 2010, 05:43:45 AM »
Answering my own question 
I noticed that each errored line had 2 dots. A button name is supposed to be there.
I went into the simple object template and looked at the settings. generated and built its fine.
Real programmers use copy con newapp.exe