<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Use JSFILE :CR to create the file.<br>
<br>
It creates an ASCII file just like HTML excepts adds no data, labels or
anything.<br>
<br>
You can then add what you want the header to be with:<br>
<br>
JSFILE "1" :TX "stuff"<br>
<br>
You are in complete control at that point just as Bruce like his syntax
to be.<br>
<br>
Bill<br>
<br>
</font><br>
Bruce Easton wrote:
<blockquote cite="mid:351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP"
 type="cite">
  <pre wrap="">Fairlight wrote Wednesday, December 16, 2009 4:41 PM:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the 
prominent pundit,
witicized:
    </pre>
    <blockquote type="cite">
      <pre wrap="">But to me sometimes having to have something above the 
      </pre>
    </blockquote>
    <pre wrap="">&lt;html opening 
    </pre>
    <blockquote type="cite">
      <pre wrap="">tag in the output is reason enough to stay away from the 
      </pre>
    </blockquote>
    <pre wrap="">internal fp 
    </pre>
    <blockquote type="cite">
      <pre wrap="">html commands altogether.
      </pre>
    </blockquote>
    <pre wrap="">Depends...does it truncate or append when you start?  If 
append, you could pre-populate the required data, then use 
the html stuff.  I don't recommend it, I'm saying it might be 
possible.

m-&gt;
--
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Well -I tried some things with variations on the fp HTML :cr 
command, and I don't believe Marv can use it to start off his 
output document.  

I was not able to get anything other than one type of document 
type specification by using the :dt option.  But maybe there are 
reserved codes that come after the :dt to set up for different doc 
types. I couldn't find any documentation of such.

BUT, you can use:

        html :cr [outdocpathandname] :tx [other stuff]

and that output (otherstuff) does appear *before* 
the &lt;HTML&gt; tag.  So I tried it with Marv's requirement and it 
worked fine to handle the document type spec.

What I could not find a way to do is embed anything else within 
the &lt;HTML&gt; tag as in &lt;HTML xmlns="...."&gt;.  I even tried using :zz 
and that didn't help.  (5.0.14).

And to answer your question Mark, I don't believe there is any 
way to use fp's HTML commands to append to a file.

So back to saying 'just use open and writeline, for crying out loud..' :)

Bruce

Bruce Easton
STN, Inc.

_______________________________________________
Filepro-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 

William Randall
<a class="moz-txt-link-abbreviated" href="mailto:wrandall@fptech.com">wrandall@fptech.com</a>

</pre>
</body>
</html>