post scriptum
when I wrote the previous posting, I have not noticed that there was still an error message that I did not see because somewhere in the script I had a /clear command for the outpout window.
the complete examination (code stripped to the essential part but still working) is here