//    Instruction Example :      menulist.cursor.backcolor.select (long,long,long)


        #define X 50
        #define Y 50
        #define WIDTH  100
        #define HEIGHT 40

        screen.resolution.set (512,384)

        screen.set (BACK)
          pattern.display ("avo\bubble.gif")
          box.color.select (64,64,64)
          box.display (X-3,Y-3,WIDTH+6,HEIGHT+6)
          box.color.select (COLOR_WHITE)
          box.display (X-3,Y-3,WIDTH+5,HEIGHT+5)
          box.color.select (COLOR_GRAY)
          box.fill.select ()
          box.display (X-2,Y-2,WIDTH+4,HEIGHT+4)
        screen.end ()

              menulist.color.select (COLOR_SILVER)
              menulist.cursor.backcolor.select (0,0,255)
        @list=menulist.create (WIDTH,HEIGHT,menu.manager)
              menulist.item.add (@list,"Open")
              menulist.item.add (@list,"Load")
              menulist.item.add (@list,"Save")
              menulist.item.add (@list,"Save as...")
              menulist.item.add (@list,"Print")
              menulist.item.add (@list,"Quit")

        menulist.display (@list,X,Y)

        text.display ("Select an item with the keyboard arrows or the mouse.",CENTER,10)
        text.display ("Then press RETURN or click to exit.",CENTER,350)

        event.wait ()

        procedure menu.manager (@event,%status,%item)
          script.stop ()
        end procedure