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

PROMPT ADVANCE

Name:
    SET PROMPT ADVANCE (SET)
Type:
    Set Subcommand
Purpose:
    Specify the name of the directory where DATAPLOT's auxiliary files are stored.
Description:
    When expecting a new command, Dataplot writes a prompt character (by default, a ">"). With Fortran I/O, this write is automatically followed by a carriage return/line feed so that the input is actually entered on the next line.

    Fortran 90 provides for an "ADVANCE" option for WRITE commands. Specifying an ADVANCE='NO' suppresses this carriage return/line feed so that the input is entered on the same line as the prompt.

    Entering the command

      SET PROMPT ADVANCE ON

    will utilize this option to suppress the carriage return/line feed after printing the prompt character.

    This feature is compiler dependent. Some Fortran compilers do not support the ADVANCE option when writing to standard output. Specifcally, the Intel Fortran compiler used for the Microsoft Windows implementation does not support this (note that earlier versions of this compiler did support support this). The gfortran compiler used for Linux/Unix and Mac OS X implementations does support this feature.

Syntax:
    SET PROMPT ADVANCE <ON/OFF> where <ON> specifies that the carriage return/line feed will be suppressed while <OFF> specifies that it will not.
Examples:
    SET PROMPT ADVANCE ON
    SET PROMPT ADVANCE OFF
    PROBE PROMPT ADVANCE
Note:
    The SET PROMPT ADVANCE ON will be ignored when running the graphical user interface (GUI) is running.
Default:
    OFF
Synonyms:
    None
Related Commands:
    PROMPT = Specify whether the prompt will be printed.
Applications:
    Terminal usage
Implementation Date:
    2009/07
Program:
     
        SET PROMPT ADVANCE ON
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 06/04/2016
Last updated: 06/04/2016

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