for i=0 to 255 gputchr 120,120,"適当な文字列",rgb(i,i,i) next でいいと思います