Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    How to use Variables

    Map Making
    variable variablelist
    3
    6
    615
    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.
    • RogerCooper
      RogerCooper last edited by

      I am trying to use variables (and forEach) in xml. However I receive the error Element type "variableList must be declared

      Here is my code

        <variableList>
         <variable name="LandArea">
          <element name="Afghanistan"/>
          <element name="Alaska"/>
         </variable>
        </variableList>
      
      

      What additional declaration is required?

      C 1 Reply Last reply Reply Quote 0
      • C
        Cernel Moderators @RogerCooper last edited by

        @RogerCooper Are you using 2.0? The current release doesn't support variables.

        1 Reply Last reply Reply Quote 0
        • RogerCooper
          RogerCooper last edited by

          I was using 2.0 before, but had to switch back due to issues with 2.0.

          C 1 Reply Last reply Reply Quote 0
          • C
            Cernel Moderators @RogerCooper last edited by

            @RogerCooper Guess you can ask @redrum what is the earliest 1.9 version that supports variables. Certainly the released one isn't.

            1 Reply Last reply Reply Quote 2
            • LaFayette
              LaFayette Admin last edited by

              1.10.14540 is when variables were added.

              1 Reply Last reply Reply Quote 1
              • RogerCooper
                RogerCooper last edited by

                I am now using variables successfully..

                1 Reply Last reply Reply Quote 4
                • 1 / 1
                • First post
                  Last post
                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums