This is an old revision of the document!
WRITESPEC,<SpecFile>,<Num1>, … ,<NumN>
this command writes a line(s) into a Spectrum file format. There is no limit on the number of lines that can be written to this file.