- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are various complicated ways; however, isn't it simpler that you provide e.g. a command-line switch which will skip the dialog and go into "invisible", or "batch" mode, e.g.
callGETARG(1, sArg)
if (TRIM(sArg).ne."/batch") then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are various complicated ways; however, isn't it simpler that you provide e.g. a command-line switch which will skip the dialog and go into "invisible", or "batch" mode, e.g.
callGETARG(1, sArg)
if (TRIM(sArg).ne."/batch") then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are various complicated ways; however, isn't it simpler that you provide e.g. a command-line switch which will skip the dialog and go into "invisible", or "batch" mode, e.g.
LOGICAL:: bOK
CHARACTER(20):: sArg
callGETARG(1, sArg)
if (TRIM(sArg) .ne. "/batch") then
b= DlgInit(...
bOK = DlgModal(Dlg) .EQ. IDOK
else
bOK = .TRUE.
end if
if (bOK) then
!Calculate as usual
end if
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jugaslov,
I hear you, except the user wants the screen to appear as there is a lot of information regarding the run that is written out to a dialog box (that you helped me with a while back). So, I would appreciate the more complicated solution.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
USE DFLOGM; USE MSCLIB
INTEGER :: RESULT
LOGICAL :: RSO_EXISTS=.FALSE.
TYPE (DIALOG) :: DLG
EXTERNAL RUN_W2
RESULT = DLGSET (DLG,STATUS,' Pending execution')
RESULT = DLGSET (DLG,RESTART, .FALSE.,DLG_ENABLE)
RESULT = DLGSETSUB (DLG,RUN, RUN_W2)
RESULT = DLGMODAL (DLG)
CALL DLGUNINIT (DLG)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page