Simple Click For Loop

5 posts in this topic

To populate the first eight DS registers, I might use a For loop. In python it would look like:

DS = {}
index = range(1,9)
for i in index:
DS = iprint(DS)

{DS1:1, DS2:2, ... DS8:8}

To accomplish the same with a 'Click' For loop, I need to be able to use indirect addressing in the result field of the Math instruction. For ex: If I could replace DS1 with DS[DS9] below, then the python loop and the Click loop would be functionaly equivalent. Without this capability, I don't see a concise way of going about this. Any ideas?