Code Review: Update polyline vertices with cumulative length of line

Would anyone be interesting in doing a code review of a function I wrote? (I'm a PL/SQL novice)

Code Review: Update polyline vertices with cumulative length of line

(I would have liked to post the full question here...instead of just linking to it. But unfortunately, since I'm a "new poster", there were too many restrictions. I couldn't post the whole question with enough detail -- so the link will have to suffice.)

Cheers!

You'll probably get more responses from StackExchange. This forum deals with Toad product usage/issues, vs. deliverables you've created via Toad.

Nevertheless, if any Toad user has any insight, I'm sure this poster won't mind hearing from you!
User1845 didn't specify what kind of review, whether regarding

  • best PL/SQL coding practices (Toad's Code Analysis feature, BTW, can help here)
    or
  • optimizing the code logic, etc.

but feel free to tackle either one!

To use Toad's Code Analysis make sure to have Check Rules as you type checked so that violations generate squiggles inside your text.
You may also want to select All Rules so that you can see what's offered. Afterwards you could define a set of your favorite rules.

Here's what you could see: