View Single Post
Old 11-01-2019, 09:14 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,108
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kylecarroll View Post
I figured it out! The division was nested inside a for loop which was generating the rate list. So, on the first iteration, that list WAS empty. I moved it outside of the loop and worked as expected. Thanks for getting my brain turning.
Hopefully our discussion helped.
Come to think of it, I chased one many decades ago, where I forgot to initialize the (self typing) variable. First pass, it would bomb with a 'wrong type' error
theducks is online now   Reply With Quote