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

SET HYPHEN WORD SEPARATOR

Name:
    SET HYPHEN WORD SEPARATOR (SET)
Type:
    Set Subcommand
Purpose:
    Specify whether the hyphen ("-") will be treated as a word separator when parsing a command.
Description:
    By default, Dataplot treats the hyphen as a word separator when parsing a command line. This command can be used to specify that hyphens will not be treated as word separators.

    This command was added internally to support the INSERT COMMAND LINE ARGUMENTS command. However, it can be used explicitly by users. It would primarily be used before commands that have file names as arguments (READ, WRITE, CALL, LIST). This allows file names that contains hyphens to be entered without enclosing the file name in quotes (although the quotes are still required if the file name contains spaces).

Syntax:
    SET HYPHEN WORD SEPARATOR <ON/OFF>
    where ON specifies that hyphens will be treated as word separators while OFF specifies that they will not.
Examples:
    SET HYPHEN WORD SEPARATOR ON
    SET HYPHEN WORD SEPARATOR OFF
Default:
    ON
Synonyms:
    None
Related Commands: Applications:
    Utility command for parsing file names
Implementation Date:
    2017/01
Program:
     
    SET HYPHEN WORD SEPARATOR OFF
    READ SAMPLE-DATA.TXT Y X
    SET HYPHEN WORD SEPARATOR ON
        

Privacy Policy/Security Notice
Disclaimer | FOIA

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

Date created: 12/18/2017
Last updated: 12/18/2017

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