Subj : Using basic HTML code in pascal program
To   : Donald Tidmore
From : mark lewis
Date : Wed Aug 24 2005 10:36 pm

DT> I'm hoping that one of you can give me instructions on how one can
DT> take a basic Lord program, in this case Jason Brown's LordStat
DT> utility, and change it so that it can output basic HTML text files.
DT> The program currently makes ANSI and ASCII bulletin files to cover
DT> usage of the LORD and Lord/32 beta bbs door games.  What I want to
DT> do is write simple HTML files but I have no idea as to how to go
DT> about doing that.

DT> So can one of you provide me with information on this topic?  I
DT> figure that someone somewhere has done this sort of thing, and I
DT> hope one of them is still active in this echo.  Thanks, Donald.

the easiest thing would possibly to take the ASCII version and wrap it in
<PRE></PRE> html container tags... of course, you would want to have all the
other proper HTML tags in place before and after :)

the actual coding should be dirt simple... start the HTML output file and
output the html header stuff... then the <PRE> tag, import the ASCII file and
output it to the html file, then </PRE> and the rest of your terminating HTML
tags...

you could possibly peek at the output of my files areas HTML files on my
website... they are done from BP7 and the descriptions of the files are wrapped
with <PRE></PRE> tags in the same manner i'm speaking of...

)\/(ark


* Origin:  (1:3634/12)