   how to cast uint to int?
  i've tried int i=0;if(myarray.length()>(uint)i)but it prints:"Error :Expected'('"   
  Assuming that the language is C++, you can use:(unsigned int)ior(UINT)iThe last one is actually a typedef.I hope it's useful!;  It's in AngelScript not c++   ;  if(myarray.length()>uint(i))   ;  thanks!It works   