Macro commands may be used either in macros or by sending the commands to DPlot via dynamic data exchange (DDE). Some commands are valid only in macros (noted by Macros Only). Commands sent to DPlot via DDE must be enclosed by square brackets [ ]. Macro commands should not include the brackets.
Command parameters shown in the descriptions below are placeholders for the actual values. Command parameters are either numeric values or character strings; character string parameters are always bound by double quotation marks.
All indices into arrays are 1-based, e.g. Curve1=1 refers to the first curve in a plot.
A 0x prefix for numbers in the descriptions below indicates hexadecimal notation; e.g. 0x0010 = 16.
JR/Viewer indicates that the command is supported by DPlot Jr or DPlot Viewer.
JR/Viewer indicates that the command is NOT supported by DPlot Jr or DPlot Viewer.
[SetFilename("filename")] |
|
Allows you to specify a default filename for a document. If the user saves the file, this default filename will be presented in the File name text box on the Save As dialog. (Normally this text box is blank for documents that have never been saved.) The user may override the default filename, as with any other document. If filename includes a drive or path, that drive/path will be the default folder.
NOTE: SetFilename does not save a document. To save a file programmatically use the FileSaveAs command.
Page url: http://www.dplot.com/help/index.htm?setfilenamecommand.htm