s-news
[Top] [All Lists]

[S] Pausing within/between between functions

To: "'S-news'" <s-news@wubios.wustl.edu>
Subject: [S] Pausing within/between between functions
From: "Fowler, Mark" <FowlerM@mar.dfo-mpo.gc.ca>
Date: Tue, 27 Jul 1999 07:58:28 -0300
Sender: owner-s-news@wubios.wustl.edu
I have a single wrapper function that sequences the invocation of a series
of functions, most of which rely on preceding functions for input. The
readline() command enables the user to peruse output at leisure and interact
with the dialogs in the necessary order, but the users' input is expected in
the Commands window while the user is in the Report window. And when I use
readline() within one of the 'wrapped' functions to pause between distinct
outputs I get a default input gui, and the function is abandoned. Ideally I
would want simple "Continue when ready" button guis pause between dialogs.
Anyone know how to effect this sort of interrupt in a user-friendly fashion?
Anyone know how to control window activation from a function?






        CatRate_function(){
        
rm(subce5,moddat,termcol,EXTDAT,MV,AV,TCV,DZV,YV,mv,av,tcv,dzv,vev,mainmod)
        stanbox1()
        termbox1()
        guiDisplayDialog("Function","CRDataSel")
        readline("Hit any key to continue")
        guiDisplayDialog("Function","ModTerms")
        readline("Hit any key to continue")
        modgui1()
        guiDisplayDialog("Function","FirstLook")
        readline("Hit any key to continue")
        predbox1()
        guiDisplayDialog("Function","PredictRate")
        }

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>
  • [S] Pausing within/between between functions, Fowler, Mark <=