|
FILE NAME QUOTEName:
For the WRITE command, we can have something like
WRITE " string to printed " In this case, we do not want the quotes to be interpreted as enclosing a file name. The SET FILE NAME QUOTE is used to address this ambiguity. If the command
is given, then if the first character in the file name is a double quote, Dataplot treats all characters until the next double quote as the file name (the quotes are not part of the file name).
is given, Dataplot treats any quotes as signifying the start of a literal string to be printed. The READ, CAPTURE, CALL/CREATE and LIST commands do not have this ambiguity. For these commands, the value for SET FILE NAME QUOTE is automatically set to ON. For the WRITE command, the default is OFF. This is so that WRITE commands that contain quotes for literal strings will still work if the embedded string contains a "." (a period is the signifier that a string denotes a file name). Syntax:
where <ON> specifies that file names may be embedded with quotes and <OFF> specifies that quotes do not delineate file names.
SET FILE NAME QUOTE OFF
2003/08: The READ, CAPTURE, and LIST commands automatically set this switch to ON. SET FILE NAME QUOTE ON LET Y1 = NORMAL RANDOM NUMBERS FOR I = 1 1 100 LET Y2 = CAUCHY RANDOM NUMBERS FOR I = 1 1 100 WRITE "C:\My Data\TEST.DAT" Y1 Y2 LIST "C:\My Data\TEST.DAT" READ "C:\My Data\TEST.DAT" Z1 Z2
|
Privacy
Policy/Security Notice
NIST is an agency of the U.S.
Commerce Department.
Date created: 04/27/2016 |