From: Dale Stanbrough <dale@goanna.cs.rmit.edu.au>
Subject: HTML/CGI packages available...
Date: 1997/06/13
Date: 1997-06-13T00:00:00+00:00 [thread overview]
Message-ID: <5nqted$cst$1@goanna.cs.rmit.edu.au> (raw)
A few (very) simple packages that output html source code are available at
http://www.cs.rmit.edu.au/~dale/cgi/index.html
These allow you to create Web pages from within a Ada program, without
having lots of ugly HTML syntax dirtying up your pretty source code.
An example use...
with Ada.Text_IO; use Ada.Text_IO;
with HTML; use HTML;
with HTML.Tables; use HTML.Tables;
procedure Tables is
begin
Table;
Row;
Detail;
Put ("Row 1, Col 1");
Detail;
Put ("Row 1, Col 2");
Detail_End;
Row_End;
Row (ColSpan => 2, Align => Center);
Detail;
Anchor ("http://www.adahome.com");
Put ("Full 'o Stuff");
Anchor_End;
Row_End;
Table_End;
end Tables;
Let me know if you find it useful...
Dale
reply other threads:[~1997-06-13 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox