% This is demo.web
@* Demo. This is just a short example to demonstrate the KNIT and TWIST
program.
@p
program demo(input,output);
begin
   @<Write some output@>
   @<And some more@>
   @<And more lines@>
end.

@ This is the second module.
@<Write some output@>==
   writeln('I am line1');
   writeln('I am line2');
   writeln('I am line3');

@ This is the third module.
@<And some more@>=
   writeln('I am line4');
   writeln('I am line5');
   writeln('I am line6');
   writeln('I am line7');
   writeln('I am line8');

@ And this the last one.
@<And more lines@>=
   writeln('I am line9');
   writeln('I am line10');
   writeln('I am line11');
   writeln('I am line12');
