I want to implement a routine to initialize certain attributes of my model using data from a table.
Code: Select all
For (
var([icount], vbvalue, 0),
icount <> nrows (equipment(1,1)),
setatt(1,equipment(icount,2),
atombyname(equipment(icount,1))),
inc(icount)
)
Is there any safer way to do this? what is that I am missing?
Thanks in advance,
Noel