From: Ryan Leavengood Date: 2006-05-25T00:58:57+09:00 Subject: Re: disappearing hash values? On 5/24/06, newbie wrote: > > why does the value of filehash[filename] disappear in the second "if"? An if statement introduces a new scope, so the filehash in the first if is not available inside the second if. If you move the creation of the hash outside both ifs and then just update it within the first if, it will work as you expect. Ryan