It's not really - its simply taking a few numbers and trying to add and
subtract them.
I found that
${position - 3}
Which fails due to a data type mismatch.. will work if rewritten as
${convert::to-int(position) - 3}
But convert::to-int is marked as depreciated.. and says
Function convert::to
It looks like you're doing some serious manipulation...can you just make your
own custom task to do these operations?
- Original Message
From: Steve Kapinos <[EMAIL PROTECTED]>
To: nant-users@lists.sourceforge.net
Sent: Saturday, September 13, 2008 11:23:07 PM
Subject: Re: [NAnt-users]
I can simplify this even more..
I have this
${position}
This outputs 135 for the echo
But when I try
${position - 3}
It considers position a string, not an int. Without the outside ${ }
its not an expression. How do I reference the property 'position' here
to subtract 3 fro
Ok, I'm trying to do some simple expressions to manipulate some values,
but I'm not having luck nesting expressions. Specifically, I can not
figure out how to use a function as a argument to another function.
This means I have to use incremental steps and assign the value to a
property, then refer