From abeb8e5b6cb82c9e2b145f1515b4adb3003492d7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Fri, 3 Jan 1997 21:08:01 -0800
Subject: [PATCH] modernized

Rev: doc/manual/example3:1.2
---
 doc/manual/example3 | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/doc/manual/example3 b/doc/manual/example3
index dc999bcb74..a0abf20f5a 100644
--- a/doc/manual/example3
+++ b/doc/manual/example3
@@ -50,16 +50,15 @@
   which means that if you want to access this WWW server from a browser you
   need to specify the port like this: http://my.host.my.domain:1905/
 
-  Next we declare a global variable of the type program called output_class,
-  and then we use the class construct to assign a program to it. class {}
-  defines a clonable program. (or class for you C++ freaks)
+  Next we declare a class called output_class. A class is simply a way to
+  write a clonable program into another program.
 
-	program output_class=class
+	class output_class
 	{
-	  inherit "/precompiled/file" : socket;
-	  inherit "/precompiled/file" : file;
+	  inherit File : socket;
+	  inherit File : file;
 
-  Our new class inherits /precompile/file twice. To be able to separate them
+  Our new class inherits File twice. To be able to separate them
   they are then named 'socket' and 'file'.
 
 	  int offset=0;
@@ -267,7 +266,7 @@
 
   If it failed we just return.
 
-	  clone(output_class, tmp_output);
+	  output_class(tmp_output);
 
   Otherwise we clone an instanec of 'output_class' and let it take care of the
   connection. Each clone of output_class will have it's own set of global
-- 
GitLab