//    Instruction Example :     long pixel.color.get (long,long)


        screen.resolution.set (512,384)

        pattern.display ("avo\bubble.gif")

        for (%x=0 to 512)
          for (%y=0 to 384)
            pixel.color.select (pixel.color.red.get (%x,%y),pixel.color.green.get (%x,%y),(%x/3))
            pixel.display (%x,%y)
          next ()
        next ()

        screen.set (FRONT)
          text.display ("Press a key to exit.",CENTER,350)
        screen.end ()

        keyboard.wait ()

        script.stop ()