Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Code reserved keyword in VO dialect ? 06 Dec 2022 09:57 #24659

  • bmellac
  • bmellac's Avatar
  • Topic Author


  • Posts: 28
  • Hi everyone,

    we had an XSharp project started with the Vulcan dialect.
    I wanted to update the project configuration and set it to VO but I now have a compilation error.
    It seems that VO dialect does not allow "Code" as a class member name ?
    The issue is that I can't rename the field as it is part of a deployed SOAP API.
    Is there a way around or should I stick to the Vulcan dialect ?
    Severity	Code	Description	Project	File	Line	Suppression State
    Error	XS9002	Parser: unexpected input 'Code'	Classes Publiques.prg	331
    CLASS TableCodifElement
    // Element d'une table de codification
      PUBLIC Code    AS STRING
    ...
    END CLASS

    Please Log in or Create an account to join the conversation.

    Code reserved keyword in VO dialect ? 06 Dec 2022 10:12 #24663

    • robert
    • robert's Avatar


  • Posts: 3447
  • Code is the 4 letter abbreviation of CodeBlock.
    If you prefix the name with @@ then it is accepted.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1