ちょっと違うけどこう for x = 0 to 399 //始点x to 終点x for y = 0 to 239 //始点y to 終点y rgbread gspoit(x,y) out r,g,b gpset x,y,rgb(r/2,g/2,b/2) next next