SYSTEM
Name:
Type:
Purpose:
This command allows DATAPLOT to issue an operating system command
on the host computer.
Description:
The Fortran 77/90 standard do not explicitly support a SYSTEM library
function, so this command is compiler dependent. However, most Fortran
compilers do provide a library function that supports this capability.
This command should be available on most currently suppported platforms.
However, it is possible that the command is not available on your local
platform.
Syntax:
SYSTEM <string>
where <string> contains a command to be executed on the local
operating system.
Examples:
SYSTEM DIR (on an Windows PC system)
SYSTEM ls (on a Unix system)
Note:
This command is host dependent. It is operational on the
following systems:
UNIX/Linux (except Cray UNICOS)
Microsoft Windows (based on Intel compiler)
CYBER NOS/VE
It has been coded, but not tested, on the VAX/VMS system.
Note:
DATAPLOT does no error checking on the requested command. It is
the users responsibility to enter the correct operating system
command.
Note:
Note:
Whether control is returned to DATAPLOT after the command is
spawned or after it completes execution can be implementation
dependent. The Linux/Unix implementations wait for the command
to complete execution before returning control to DATAPLOT.
The Microsoft Windows implementation based on the Intel
compiler provides two different methods for generating
the operating system command. The SYSTEMQQ call does
not return control back to Dataplot until the operating
system command has completed. The WinExec call starts
an independent process and immediately returns control
back to Dataplot. For example, if you want to open a
web browser and leave it running while you enter more
Dataplot commands, then the WinExec method is useful.
To specify which method the SYSTEM command will use,
enter the command
SET QWIN SYSTEM <SYSTEMQQ/WINEXEC>
The default is SYSTEMQQ.
Note:
This command preserves the case as entered. This is
important for the Unix implementation since Unix commands are
case sensitive. DATAPLOT does not try to guess what case
should be passed to the local host.
Default:
Synonyms:
Related Commands:
SLEEP
|
= Pause for <n> seconds.
|
CD
|
= Change the current directory.
|
PWD
|
= Retrieve the current directory.
|
Applications:
Implementation Date:
Program:
DEVICE 2 POSTSCRIPT
PLOT X**2 FOR X = 1 1 9
DEVICE 2 CLOSE
SYSTEM lpr dppl1f.dat
Privacy
Policy/Security Notice
Disclaimer |
FOIA
NIST is an agency of the U.S.
Commerce Department.
Date created: 01/13/2011
Last updated: 10/21/2015
Please email comments on this WWW page to
alan.heckert@nist.gov.
|
|