Thanks a lot for the reply , I use the value and now its working. But now if i
want to store the values of nam1 to nam4 in the other set of variable namm1 to
namm4 in the same loop it gives me error "Command not defined"

repeat with j=1 to 4
value("nam"&j).transform.position=vector(1000,1000 ,10)
put value("namm"&j)
end repeat