#155 Order of MATH operands is reversed if used within FOR

closed-duplicate
nobody
property (13)
5
2006-08-09
2005-09-23
curd0
No

Order of MATH operands is reversed if used within FOR
task.

When <math/> task is used within <for/> order of
operands is being reversed. 5-1 is being calcvulated as 1-
5 and gives -4 as a result. Same true for division and
mod operations. See attached build.xml.

Discussion

  • curd0

    curd0 - 2005-09-23

    Example: How to reproduce the bug

     
  • curd0

    curd0 - 2005-09-23
    • labels: 574418 --> property
     
  • Nobody/Anonymous

    Logged In: NO

    Yes, I just came across this one myself, the "interesting" way!

     
  • Matt Inger

    Matt Inger - 2006-08-09

    Logged In: YES
    user_id=83032

    this is a duplicate, and has to do with the macrodef issue
    (as FOR is implemented with macrodefs) Please get the
    latest code from subversion.

     
  • Matt Inger

    Matt Inger - 2006-08-09
    • status: open --> closed-duplicate
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks