
     startup
        A startup is an object that has a  value  and  no  screen
        representation.  Its actions are performed at the time it
        is created. A startup's  value  may  be  refered  to  and
        changed but it will never perform its action again.

        Syntax: startup={ name=... value=... action=...  test=...
        }

        name  defaults to "startup1", "startup2" etc.

        Startups are useful for initializing a  panel  -  setting
        the initial value or appearance of objects.  Startups are
        also very useful when used  in  conjunction  with  condi-
        tional  actions,  see TESTS below. When used in this way,
        startups can initialize a panel  in  a  manner  that  can
        depend on external factors.

        The startup object in this script tests  to  see  if  the
        file  fredsave  exists.  If it does, it sets the initial
        value of fred to the contents of that file. The SAVE but-
        ton  will  save  the  current  contents of fred in a file
        fredsave. The REMOVE button will remove the current save
        file.

        field={ name=fred value=" " }
        startup={
             test={
                condition=" test -f fredsave "
             true={ action="ASSIGN fred `cat fredsave` " }
             }
        }
        button={ name=SAVE action="echo $fred >fredsave" }
        button={ name=REMOVE action="/bin/rm fredsave" }
        button={ label=QUIT action=QUIT }
