If I Copy the part of the program with the studied problem to a new fresh program, with no other commands, subroutines or whatsoever, then it runs normally!!

Ioannis