Originally Posted by VarsityPuppet
and interesting enough, that HK factory code was before I had taken any programming class, so I guess that deduction would make sense, QGG......
Oops... I did not know that those were two different versions of your own code
I was not meaning a dis! As it is though, the difference between the code samples obviously shows a much deeper understanding of algorithm in the latter - which does make sense, as you have been working your tail off
@KDJ: yeah, initializing the value of the variable inside of that subroutine may do the trick. It shouldn't be that way - there is nothing invalid in trying to go about things the same way the original version did, and it would actually seem to be the best way to go about it. However, this is a case of us giving the OG programmers too much credit - their stuff breaks just as often, if not more often, than our community-made code does.