TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    How to use Variables

    Scheduled Pinned Locked Moved Map Making
    variablevariablelist
    6 Posts 3 Posters 1.5k Views 3 Watching
    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.
    • RogerCooperR Offline
      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 Offline
        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
        • RogerCooperR Offline
          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 Offline
            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
            • LaFayetteL Online
              LaFayette Admin
              last edited by

              1.10.14540 is when variables were added.

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

                I am now using variables successfully..

                1 Reply Last reply Reply Quote 4

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • First post
                  Last post
                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums