Dear Sandu
It was just the semicolon!
All the weekend reading without finding the answer.
Must I end all lines with a semicolon within a loop?
I thought that if you end a command with semicolon it doesn't show an output and this was the reason for omitting it in the loop, but I was wrong.
I will also try the more concise solution you propose.
Thank you,
Stefan