|
Dealing with Data / Data formats / FORMAT=DIF |
DIF, which stands for Data Interchange Format, is a (rather bulky) text format used for transmitting the content of a simple spreadsheet. It’s a Labeled Table or Unlabeled format (depending upon the file) for both input and output of series, reports and matrices, available in all versions of RATS.
RATS Instructions
|
data(format=dif) |
read series from DIF into memory |
|
store(convert=dif) |
copy series from DIF to RATS format |
|
copy(format=dif) |
write series to DIF file |
|
prtdata(format=dif) |
write series from RATS format file to DIF |
|
read(format=dif) |
read scalars or arrays from DIF into memory |
|
report(format=dif) |
(with ACTION=FORMAT) write a report to DIF file |
ORG options are required on DATA, STORE, COPY and PRTDATA.
Interface Operations
Data Wizard
You can read series using Data/Graphics>Data (Other Formats).
Series Window and RATS Data File Window
You can import series using File>Import... or the
toolbar button. You can export series using File>Export..., the
toolbar button, or the Export operation on the contextual menu.
Report Windows
You can write reports using File>Save As, File>Export, Edit>Copy; the
and
toolbar items, and the Export and Copy contextual menu operations.
Matrix Windows
You can write the contents of a matrix window to a file using File>Save As, File>Export; the
and
toolbars, and the Export contextual menu.
Details
For copy-and-pasting into DIF, you will probably have to choose the Paste Special operation in the target application. RATS copies the full precision of real numbers when copying to the clipboard in DIF format.
Copyright © 2026 Thomas A. Doan