next up previous contents
Next: PostScript printing Up: File I/O Previous: Loading data structures from

Saving data structures into a file

 

save Save a data structure into a file
<name> name of the data structure
[-o <output-file>] name of the target file
[-t <type>] type for the file. <type>: nda | tab | old
nda - NDA format
tab - tabulator delimited
old - QSOM format

This operation saves a data structure into a file. It recognizes the type of the data structures and selects an appropriate saving format. File types are the same as in load.

Example: The following commands save data structures from the name space into files.

NDA> save data1
NDA> save data2 -o data2.dat
NDA> save cld
NDA> save som1
NDA> save fuzzy1

figure4031



Anssi Lensu
Thu May 17 15:00:44 EET DST 2001