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


          screen.resolution.set (512,384)

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

          @icon = icon.load ("avo\dinosaur.png")
          icon.display (@icon,CENTER,CENTER)

          screen.set (FRONT)
            %width =icon.width.get (@icon)
            text.display ("The width of the icon is : "+str(%width)+" ",CENTER,10)
            text.display ("Press a key to exit.",CENTER,350)
          screen.end ()

          keyboard.wait ()

          script.stop ()