Generate for assign statement -> how to?

In reply to dave_59:

Why?