Instead of hard coding (contrived example here):
f1: func[][print "f1"]
f100: func[][print "f100"]
etc...
Is it possible to do something like this
for num 1 100 1 [
set to-word rejoin ["f" num] func[][
print rejoin ["f" num]
]
]
except it doesn't work, it always give "f100" (why in fact num is equal to 100 is a mystery for me though it's not the question here: closure ?).