SED navigation bar go to SED home page go to Dataplot home page go to NIST home page SED Home Page SED Staff SED Projects SED Products and Publications Search SED Pages
Dataplot Vol 1 Vol 2

QWIN SYSTEM

Name:
    QWIN SYSTEM (SET)
Type:
    Set Subcommand
Purpose:
    For the version of Dataplot built with the Intel Fortran compiler, it specifies whether operating system commands are invoked with the SYSTEMQQ library function or the WinExec library function.
Description:
    The Dataplot command SYSTEM is used to invoke an operating system command or an external program (e.g., a web browser). In addition, several other Dataplot commands (e.g., WEB HELP) invoke external programs. Note that invoking operating system commands and external programs is not part of the Fortran standard, so this capability in Dataplot is operating system and compiler dependent.

    The command line version of Dataplot is built using the Intel Fortran (previously the Microsoft) compiler as a QuickWin (QWIN) application. By default, the SYSTEMQQ library routine is used to invoke operating system commands and external programs. The primary drawback of this option is that control does not return to Dataplot until the operating system command completes execution.

    Alternatively, the WinExec function can be used. The advantage of this method is that control passes back to Dataplot after the command is issued (i.e., it doesn't wait for the command to complete). However, the drawback is that DOS type commands do not work.

    The basic recommendation is that if you want to execute a Windows application (e.g., the browser, notepad, Word, etc.), then set this option to WINEXEC. However, to issue a DOS type command via the Dataplot SYSTEM command, you should set this option to SYSTEMQQ (the default).

    In particular, I recommend setting this option to WINEXEC before using the WEB HELP (or any other command starting with WEB) command.

    This allows you to enter additional Dataplot commands without exiting the browser.

Syntax:
    SET QWIN SYSTEM <SYSTEMQQ/WINEXEC> where SYSTEMQQ specifies that calls to the operating system are invoked with SYSTEMQQ and WINEXEC specificies that calls to to the operating system are invoked with WinExec.
Examples:
    SET QWIN SYSTEM WINEXEC
    SET QWIN SYSTEM SYSTEMQQ
Note:
    This command only applies to the command line version of Dataplot under Microsoft Windows (i.e., the executable built with the Visual Fortran (previously the Microsoft) compiler. It is ignored on all other systems.
Default:
    The default is SYSTEMQQ.
Synonyms:
    None
Related Commands:
    WEB HELP = View the Dataplot online Reference Manual.
    SYSTEM = Enter an operating system command.
Applications:
    Interacting with Microsoft Windows
Implementation Date:
    2002/11
Program:
    SET QWIN SYSTEM WINEXEC
    WEB HELP PLOT
    SET QWIN SYSTEM SYSTEMQQ
    SYSTEM  DIR C:\DATAPLOT\DATA | MORE
        

Privacy Policy/Security Notice
Disclaimer | FOIA

NIST is an agency of the U.S. Commerce Department.

Date created: 11/26/2002
Last updated: 11/05/2015

Please email comments on this WWW page to alan.heckert@nist.gov.