Hi
I'm quite new to types and wonder how to do a type in an other type
Here is my try...
Type dir
Field Name$
End Type
Type file
Field a.dir
Field name$
End Type
a.dir=New dir
a\name$="test"
dir.file=New file
a\name="testfile"
For a.dir=Each dir
I=I+1
Text 5,I*20,a\name$
For dir.file=Each file
i=i+1
Text 25,I*20,dir\name$
Next
Next
I was trying to figure the same thing out a couple of days ago.
Hope this helps: link (http://www.devcrunch.com/forum/viewtopic.php?t=488)