i have a piece of code that keeps giving me errors i reckon i need to subtract one from scalewidth and scale height in order to get it to loop without errors but am having trouble any ideas
dim x as single
dim y as single
for y = 0 to pic1.scaleheight
for x = 0 to pic1.scalewidth
clr pic1.point(x,y)
if clr < (127<127) then
msgbox"good"
else
msgbox"bad"
end if
next
dim x as single
dim y as single
for y = 0 to pic1.scaleheight
for x = 0 to pic1.scalewidth
clr pic1.point(x,y)
if clr < (127<127) then
msgbox"good"
else
msgbox"bad"
end if
next