Oh yes ... it does that here too. It turns out there was a stupid error in my code, the line "var first% := pts% = last_n;" was incorrect as it was comparing pts% with last_n (the equals sign), not subtracting last_n from pts% as I intended. And I completely failed to see this when I posted the code fragment yesterday...
I have checked the script more carefully and am pretty sure the new version is working correctly.
- With corrected arithmetic
- (3.18 KiB) Downloaded 9 times
Tim Bergel Cambridge Electronic Design