Subj : Using basic HTML code in pascal pro
To   : Donald Tidmore
From : Sean Dennis
Date : Fri Sep 30 2005 07:54 pm

Hello, Donald!

Replying to a message of Wayne Steele to Donald Tidmore:

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


That's not difficult at all, really.  Just create your HTML stuff as a text
file... something like:

Program HTMLCreate;

Uses DOS, CRT;

Var
 Temp : Text;

Begin
 Assign(Temp,'yourfile.html');
 {$I-}Rewrite(Temp){$I+}
       WriteLn('<html>');
       WriteLn('<title>Test Page</title>');
       WriteLn('<body>');
       WriteLn('<b>Put Your Data Here</b>');
       WriteLn('</body>');
       WriteLn('</html>');
  Close(Temp);
End.

Hope this helps a little. :)

Later,
Sean

--- FleetStreet 1.27.1
* Origin: Outpost BBS - Johnson City, TN - outpostbbs.darktech.org (1:18/200)