I think the problem is that the stack of files
you maintain does not include any information
about dependencies, so you can't check later
that they have been provided for.
The stack is a simple list of files that
only tells you in what order to do them.

Perhaps you can maintain two lists:
- All-Provided: all the words provided by all the scripts
- All-Required: all the words required by all the scripts
then you can check if there are any missing by looking
in exclude All-Required All-Provided .

But if I were you, I'd probably redesign the algorithm
and just rewrite it. It's short enough.

Anton.

> Here's my Library loader script:

> One problem the above script has, it that if a script requires a value
> for a word that no other script provides, the above function never
> returns. I haven't figured out a solution for this. Can anyone think of
> one?
> 
> Andrew J Martin

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to