Navigation:  Reference > Detailed Function Description > Main Functions >

SUB DPlot_quit

 

Previous pageReturn to chapter overviewNext page

 

SUB Dplot_quit(INTEGER Sys_chn,Result,OPTIONAL INTEGER Verbose,Csub_unload,Dde_clean,App_quit)

!

! Terminates the communication with DDE application. Here is how it works:

!

! 1. The DDE communication channels will be closed

! 2. The DDE CSUB library will be removed from memory

!

!  INPUT:  Sys_Chn       =  System channel to application

!          App_quit      =  1 the DPlot will be closed immediately

!                           2 the user will be asked to quit the application

!                           >2 the user will be asked and the dialog will

!                           disappear after the specified number of seconds

!                           (so if App_quit=5 the timeout is 5 seconds)

!          Csub_unload   =  If set to 1 then unload the CSUB library

!          Dde_clean     =  If set to 1 then DdeClean will be called

 

DPlot_quit  de-initializes the GRAPH-XT library and closes DPlot is desired (see variable App_quit).