Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Error in strings file documentation?

    General Talk
    2
    4
    719
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      heilei
      last edited by heilei

      The documentation on this page:

      [https://developers.maxon.net/docs/cpp/2023_2/page_description_resource.html]

      ...defines the structure of a .str file like this:

      STRINGTABLE descriptionname
      {
      NAME descriptionname;

      ELEMENT_1 "Long Name";
      ELEMENT_2 "Long Name" "Short Name";
      }

      ...but all the examples I've seen so far look like this:

      STRINGTABLE descriptionname
      {
      descriptionname "some text here";

      ELEMENT_1 "Long Name";
      ELEMENT_2 "Long Name" "Short Name";
      }

      Is there an error in the documentation or is this something that has changed in R21?

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by

        Thanks @heilei for reporting.
        It will be fixed in a future revision.

        Best, R

        1 Reply Last reply Reply Quote 0
        • H
          heilei
          last edited by

          Ok, thanks for your reply. I think that particular help page should be rewritten completely, as there are many typographical problems regarding reserved words vs. placeholders. F.ex. words like "CONTAINER", "STRINGTABLE" and "INCLUDE" are meant to be reserved words (i.e. they should appear as-is in the .res or .str file). On the other hand, "ELEMENTTYPE" is not a reserved word (if I've understood the syntax correctly); it represents any valid attribute type, f.ex. "BOOL". There might be other examples as well.

          This is probably all clear to experienced C4D developers, but for a newcomer such as myself, the documentation is somewhat confusing. Typography really matters, when you're defining a syntax to someone new.

          1 Reply Last reply Reply Quote 0
          • r_giganteR
            r_gigante
            last edited by

            Hi @heilei thanks again for the comment! We'll try, where meaningful, to improve the typography in future releases.

            Best, R

            1 Reply Last reply Reply Quote 0
            • First post
              Last post