
recursive structures NOT recursive
To solve this you must call interrupts. If DOS, you must set up a user
defined type, and pass dir info into such a variable. If Win95 use an
integer to save the file handle for long file name searches. Place these
in an array. If the file attribute indicates a directory, increment to
the next element in the array, and start over. When at the end of a
subdirectory, decrement the array element and continue where the parent
directory left off.
Quote:
>Hi,
>I've a problem with a programming language which doesn't allow
>recursive calls. (here: I want to read a directory structure with
>all subdirectories in word-basic.)
>Thus I have to solve the program task with for, while, if and
>other ordinary commands.
>Does anyone have a solution?
>-Dirk
>P.S.
--
http://cust.iamerica.net/mcdivitt/