Thanks, NoCforMe. The point is that Deer44 criticises others a lot because they dare to post here snippets in MasmBasic, C/C++ and other languages but never ever has made a contribution to this forum. Check his posts in his profile, it's really ugly.