Couple problems here.
As Sayzer pointed out ... "...Keep in mind that all of the math and comparisons in PBP are unsigned."
This means that
if i < 0 then
will always evaluate to FALSE. And the FOR loop will always terminate before executing anything because -8 is really 248 in PBP math (assuming byte vars).
You'll need to find positive numbers to work with.
Bookmarks