Yoko wrote:
"i" is not a decimal, it is a string consists of letter 'i'.
do not mix name of variable and it's value
this will surely work
Code:
FOR i=Uo.Hex2Int("0xECA") TO Uo.Hex2Int("0xED2")
Uo.findtype(uo.Int2Hex(i) , "-1" , "ground")
//Some Other code here
NEXT
also you may try
Code:
FOR i=0xECA TO 0xED2
Uo.findtype(str(i) , "-1" , "ground")
//Some Other code here
NEXT
While waiting for a reply I made some tries and used the simplest one:
Code:
FOR i=3786 TO 3794
Uo.findtype(i,"-1","ground")
//some other code here
NEXT
And yes it does: findtype supports decimals.

What I want to point out is another thing; I used the previous for loop because while doing tests i found that code like this:
Code:
FOR i=Uo.Hex2Int("0xECA") TO Uo.Hex2Int("0xED2")
uo.msg(i)
wait(1000)
NEXT
does not give any output: is this supposed to happen or it is a bug?
I've also tried with str() and int() and with uo.msg() instead of uo.print(), but notthing to do: no monitor output.