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


        screen.resolution.set (512,384)

        @pic = picture.load ("avo\fruit.jpg")

        picture.display (@pic,CENTER,CENTER)

          %width =picture.width.get (@pic)

          text.display ("The width of the picture is : "+str(%width)+" ",CENTER,10)

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

        keyboard.wait ()

        script.stop ()