//    Instruction Example :     long sprite.width.get (objectid)


        screen.resolution.set (512,384)

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

        @sprite=sprite.load ("avo\logo.spr")

        sprite.display (@sprite,CENTER,CENTER)

        %width=sprite.width.get (@sprite)

        text.display ("The width of the sprite is : "+ STR (%width),CENTER,10)
        text.display ("Press a key to exit.",CENTER,350)

        keyboard.wait ()

        script.stop ()