Changes between Version 1 and Version 2 of Ticket #1842, comment 5


Ignore:
Timestamp:
May 23, 2019, 2:13:32 PM (6 years ago)
Author:
Bang Pham Huu

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1842, comment 5

    v1 v2  
    66  realIndex = 0
    77  intIndex = 0
    8   loop from 0 until 0 < source.hi:
     8  loop from 0 until intIndex < source.hi:
    99      realIndex += scaleRatio
    1010      intIndex = int(realIndex)