no, this is a general way.
only one exception in case of type numbers are continuous (0x1234, 0x1235, 0x1236...) In this case possible to use cycle with uo.Hex2Int conversion
FOR i=Uo.Hex2Int(0xECA) TO Uo.Hex2Int(0xED2)
Uo.findtype("i" , "-1" , "ground") ;<- I assume findtype accepts decimal, or i have to convert them back with Int2Hex?
//Some Other code here
NEXT
FOR i=Uo.Hex2Int(0xECA) TO Uo.Hex2Int(0xED2)
Uo.findtype("i" , "-1" , "ground") ;<- I assume findtype accepts decimal, or i have to convert them back with Int2Hex?
//Some Other code here
NEXT
"i" is not a decimal, it is a string consists of letter 'i'.
do not mix name of variable and it's value
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.