Content deleted Content added
No edit summary |
intery := intery + gradient should have been inside the for loop. it was indented as if it were but syntactically it was not |
||
Line 75:
// main loop
for x from xpxl1 + 1 to xpxl2 - 1 do
if steep then
plot(ipart(intery) , x, rfpart(intery)) plot(ipart(intery)+1, x, fpart(intery))
else
plot(x, ipart (intery), rfpart(intery))
plot(x, ipart (intery)+1, fpart(intery))
end if
intery := intery + gradient
end
end function
</syntaxhighlight>
|