ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Number Conversion
Date Sat, 20 Jul 2002 05:27:40 GMT
Hi,

I would like to add a rule when we convert strings to attributes. This rule 
being;

Hexadecimal numbers begin with 0x, Octal numbers begin with 0o and binary
numbers begin with 0b, all other values are assumed to be decimal.

It is backwards compatible (as it would be invalid to include 'x', 'o' or 'b' 
in number in previous versions of ant. 

This rule would apply to all numerics (int, short, byte, long etc).

Any problesm with this?

-- 
Cheers,

Peter Donald
-----------------------------------------------
|  If you turn on the light quickly enough,   |
|    you can see what the dark looks like.    |
----------------------------------------------- 


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message