writedoc        write numbers into a document file
 

USAGE:         writedoc
               Note: writedoc and writedocclose must be without spaces (will change in 
	       the future). 
	       
        .Input docfile name: doc001
        [If the file does not exist, it is created, if it exists new lines
         will be appended. Only the last occurence of a key will be accessible
         for reading (see operation readdoc)]
        
        .key followed by vaiables: v.key,v.var1,v.var2
        [Enter a key followed by variables. There is no limit to the number
         of variables per line, except it may become difficult to read or
         edit. A negative key can be used to create write a comment or to create an empty 
	 file.]
	 
	 If the key is negative:
	 	.Enter comment:  This is a comment
		[Enter the text of a comment. This will be written to the document file as:
		  ; This is a comment (leading space, semicolon, space, comment text). If
		 no comment is entered and the document file does not exist, and empty 
		 document file will be created. If the document file exists, and no coment
		 is entered, the program will simply go to the next operation.]
         
         IF THE DOCUMENT FILE IS USED FOR READ WITHIN THE SAME SESSION IT
         MUST BE CLOSED (see operation writedocclose).
        
Programs: adm_master.py adm_writedoc.py
        
Author(s): M. Radermacher, 2012