From a0e1e1f00bda6c53014d7058f83cbac5f885d931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Mon, 30 Oct 1995 01:01:17 +0100 Subject: [PATCH] New file Rev: doc/lpc/class:1.1 --- doc/lpc/class | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/lpc/class diff --git a/doc/lpc/class b/doc/lpc/class new file mode 100644 index 0000000000..e2e8144133 --- /dev/null +++ b/doc/lpc/class @@ -0,0 +1,18 @@ +NAME + class + +SYNTAX + class { program definition } + +DESCRIPTION + Class is a way of writing serveral programs in one file. + The program written between the brackets will be returned by + class. + +EXAMPLE + complex=clone(class { float r, i; }); + complex->r=1.0; + complex->i=1.0; + +SEE ALSO + inherit, lambda -- GitLab