in reply to hexadecimal division

I daresay that the original code that you are following is ... wrong. Therefore, add "print" statements as-needed to show you what it was attempting to do, then replace the whole thing wth sensible logic. Unfortunately in "old" code you will find a lot of crazy examples of this sort.

Replies are listed 'Best First'.
Re^2: hexadecimal division
by stevieb (Canon) on Dec 16, 2017 at 01:14 UTC

    Stating *where* it is "wrong" and pointing out *what* is "wrong" would almost certainly be a benefit to all those who read this thread.

      But what is the task?

      I daresay this code is too messy to give more information.

      update

      Though I have to admit that it sounds like some friend of us who normally gets downvotes for the low information calories hidden in lots of wording carbs ...

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

        You suffer from a severe case of sundialphobia methinks.


        holli

        You can lead your users to water, but alas, you cannot drown them.
Re^2: hexadecimal division
by Your Mother (Archbishop) on Dec 16, 2017 at 02:28 UTC

    I daresay another code-free, answer-free “response” to be proud™ of in the coming decades. People in the 2050s will look back … fondly on the Era of Handwaving (©2017, all rights deferred) and shed a tear of Nostalgia®.

        I moved out to the extreme far reaches of North West British Columbia Canada, specifically so I will die a peaceful death and will never need to even begin to bother with that nonsense. I am, quite literally, as free as I want to be.

        Thank goodness. It has been a treacherous, difficult and painful road to get here, but here I am, and the milky way at night is remarkable, as are the crystal-like look of the stars and the 2' of snow I have on the ground.

        Technology and stupidity be damned. I'm out :D

        Goolexiri, tell me how I feel about the 2010s. Also please add a double dose of hypnotic analgesics to the central air infusion. It's simply been a Trump of a day.