Hi, Rebolers!

I am new in rebol scopes. So it seems, that it cause problems in 
my recursive directory reading function.
Could somebody  give me a bit more description about variable 
scopes in following case:

readChaptDir2: func [ thisDir ] [
        rez: copy thisDir
        repeat aFile read thisDir [
                either #"/" = last aFile [
                        repend rez [ "<br>dir:" join thisDir aFile ]
                        repend rez readChaptDir2 join thisDir aFile 
                ][
                        repend rez [ <br> aFile ]
                ]
                
        ]
        return rez
]

Looking forward,

Janeks

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to