Commit 41dcbb7d authored by koennecke's avatar koennecke
Browse files

Saving proposal for TAS

parent b93a2db1
......@@ -36,6 +36,8 @@
#include <splitter.h>
#include <status.h>
extern char *GetVarText(char *name); /* from tasscanub.c*/
/*------------------------------------------------------------------------
a little local utility for making a line of characters
-------------------------------------------------------------------------*/
......@@ -210,7 +212,7 @@ static int TASHeader(pScanData self)
output a plethora of parameters
*/
fprintf(self->fd, "INSTR: %s\n", pTAS->tasPar[INST]->text);
fprintf(self->fd, "EXPNO: \n");
fprintf(self->fd, "EXPNO: %s\n", GetVarText("proposalid"));
fprintf(self->fd, "USER_: %s\n", pTAS->tasPar[USR]->text);
fprintf(self->fd, "LOCAL: %s\n", pTAS->tasPar[LOC]->text);
fprintf(self->fd, "FILE_: %d\n", iFileNO);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment