The problem is that I do not ALWAYS have an object called whatever is in eqname(39*!i). How can I tell it to just skip any problems and continue the program? If I tell it to accept say 1000 errors, then it won't name the objects anymore. Not sure why? Any help?
Code: Select all
spool myspool
for !i=1 to 320
%cxname = eqname(39*!i)
%eqname = %cxname
myspool.append {%eqname}
if !i<10 then
myspool.name untitled0{!i} {%eqname}
else
myspool.name untitled{!i} {%eqname}
endif
next