summaryrefslogtreecommitdiff
path: root/misc/pascal/tests/src/801-cgihello.pas
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-05 16:36:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-01-05 16:36:56 +0000
commit4887a05481e143bfc4796230605d0a9ff7f2cb5a (patch)
tree495dce9e5a774e6826fa09f2651ae3c8c546822d /misc/pascal/tests/src/801-cgihello.pas
parent9684605c30d1f7f2f7120d8c1b5645e7ca4eb54f (diff)
downloadnuttx-4887a05481e143bfc4796230605d0a9ff7f2cb5a.tar.gz
nuttx-4887a05481e143bfc4796230605d0a9ff7f2cb5a.tar.bz2
nuttx-4887a05481e143bfc4796230605d0a9ff7f2cb5a.zip
Pascal Tests
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@504 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/pascal/tests/src/801-cgihello.pas')
-rw-r--r--misc/pascal/tests/src/801-cgihello.pas20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/pascal/tests/src/801-cgihello.pas b/misc/pascal/tests/src/801-cgihello.pas
new file mode 100644
index 000000000..54170e34e
--- /dev/null
+++ b/misc/pascal/tests/src/801-cgihello.pas
@@ -0,0 +1,20 @@
+program hello(output);
+
+ procedure WriteResponseHeader;
+ begin
+ writeln('content-type: text/html');
+ writeln
+ end;
+
+begin
+ WriteResponseHeader;
+ writeln('<HTML>');
+ writeln('<HEAD>');
+ writeln('<TITLE>IriePascal Hello World Program</TITLE>');
+ writeln('</HEAD>');
+ writeln('<BODY>');
+ writeln('<BIG> Hello world!!! </BIG>');
+ writeln('</BODY>');
+ writeln('</HTML>')
+end.
+