//    Instruction Example :      gradient.hide (objectid,long)


        screen.resolution.set (512,384)

        screen.set (BACK)
          pattern.display ("avo\bubble.gif")
        screen.end ()

        @grad = gradient.create (RIGHT,4,80,20,0,200,180,20,320,240)

        gradient.persistence.set (@grad,TRUE)

        gradient.display (@grad,CENTER,CENTER)

        text.display ("Press a key to hide the gradient.",CENTER,10)

        keyboard.wait ()

        gradient.hide (@grad,TRUE)

        text.display ("Press a key to display the gradient.",CENTER,10)

        keyboard.wait ()

        gradient.hide (@grad,FALSE)

        text.display ("Press a key to exit.",CENTER,350)

        keyboard.wait ()

        script.stop ()