Thanks! It does the trick, though it took me a few minutes to realize it makes a difference when you use YIELD in a loop before the instruction to be delayed (it works) and if you use it afterwards (it doesn't).
By the way, is there any updated list of Starlogo TNG instructions? The existing
http://education.mit.edu/starlogo-tng/documentation/ does not even mention the YIELD function, which, in the case where the name of the instruction is rather not explicit, makes it hard to guess what it is for. I realize many of my questions are probably very easy to answer, and I could answer them myself if only the documentation was a bit more helpful...
Ian