smitty239
Automotive
- Jan 4, 2007
- 60
Hi Everyone
I use the below in a program to cycle thru components in an assembly and write the file names to a text file. My problem is a do loop is only good for 1000 labels and many of my assemblies are well over that. Can someone tell me how to write all the names of every component and not miss any ? This may be easy for some of you but I am a hacker at the best of times and any help would be appreciated.
Thanks
Bob Smith
CREATE/TXT, 2
inexte/all
mask/63
DO/D900:,i,1,900
comps(i) = nexte/ifend,a10:
names(i) = &name(comps(i))
print/ names(i)
WRITE/2, names(i)
D900:
I use the below in a program to cycle thru components in an assembly and write the file names to a text file. My problem is a do loop is only good for 1000 labels and many of my assemblies are well over that. Can someone tell me how to write all the names of every component and not miss any ? This may be easy for some of you but I am a hacker at the best of times and any help would be appreciated.
Thanks
Bob Smith
CREATE/TXT, 2
inexte/all
mask/63
DO/D900:,i,1,900
comps(i) = nexte/ifend,a10:
names(i) = &name(comps(i))
print/ names(i)
WRITE/2, names(i)
D900: