Re: [NAnt-users] can you nest functions? problems with data types

2008-09-14 Thread Bob Archer
You probably need to parse position into an int: ${int::parse(position) - 3} Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kapinos Sent: Saturday, September 13, 2008 11:23 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] c

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-14 Thread Steve Kapinos
Thanks Gert.. >From old list archives it appears that possibly properties when referenced in expressions always come out as strings? They seem to work fine in arguments to functions, but I can't use them with operators unless I use the datatype conversions. This is as expected? This is a bit sp

Re: [NAnt-users] can you nest functions? problems with data types

2008-09-14 Thread Gert Driesen
Hey Steve, Use int::parse instead. Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Kapinos Sent: zondag 14 september 2008 6:19 To: Ron Grabowski; nant Subject: Re: [NAnt-users] can you nest functions? problems with data types It's not really -