URL:
  <http://gna.org/bugs/?14969>

                 Summary: Expressions with "+" fail
                 Project: Battle for Wesnoth
            Submitted by: beetlenaut
            Submitted on: Saturday 12/19/2009 at 15:40
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.10
        Operating System: Linux

    _______________________________________________________

Details:

In an expression, the "+" sign now concatenates numbers instead of adding. If
some of the terms are variables, it may simply fail, depending on the order of
the terms. Other operators (-, *, /) work as expected.

For example:

[set_variable]
  name=test
  value=$(15+30)
[/set_variable]

{DEBUG_MSG $test}


Displays "1530".




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14969>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to