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

COMMA COMMAND LINE

Name:
    SET COMMA COMMAND LINE
    SET EQUAL COMMAND LINE
    SET HYPHEN COMMAND LINE
Type:
    Set Subcommand
Purpose:
    Specify whether commas, equal signs, or hyphens are treated as word delimiters when parsing Dataplot command lines.
Description:
    These commands are typically used internally by Dataplot for certain commands (specifically, they are used to support the various syntax for arguments to the CALL command), but they can be explicitly set. However, it is not typically recommended to change the default settings.

    Spaces will still be treated as word delimiters regardless of how the comma, equal signs and hyphens are set.

Syntax 1:
    SET COMMA COMMAND LINE <ON/OFF>
    where <ON> specifies that commas will be treated as word delimiters while <OFF> specifies that they will not.
Syntax 2:
    SET EQUAL COMMAND LINE <ON/OFF>
    where <ON> specifies that equal signs ("=") will be treated as word delimiters while <OFF> specifies that they will not.
Syntax 3:
    SET HYPHEN COMMAND LINE <ON/OFF>
    where <ON> specifies that hyphens ("-") will be treated as word delimiters while <OFF> specifies that they will not.
Examples:
    SET COMMA COMMAND LINE ON
    SET COMMA COMMAND LINE OFF
    SET EQUAL COMMAND LINE ON
    SET EQUAL COMMAND LINE OFF
    SET HYPHEN COMMAND LINE ON
    SET HYPHEN COMMAND LINE OFF
Default:
    SET COMMA COMMAND LINE default is OFF
    SET HYPHEN COMMAND LINE default is ON
    SET EQUAL COMMAND LINE default is ON
Synonyms:
    None
Related Commands:
    CALL = Execute Dataplot commands stored in a file.
Applications:
    Parsing command line arguments on CALL commands
Implementation Date:
    2018/04
Program:
     
    SET COMMA COMMAND LINE ON
    SKIP 25
    READ BERGER1.DAT Y,X
    CHARACTER X
    LINE BLANK
    PLOT Y,X
        

    plot generated by sample program

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 11/21/2018
Last updated: 11/21/2018

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