diff --git a/doc/lpc/class b/doc/lpc/class new file mode 100644 index 0000000000000000000000000000000000000000..e2e8144133c9c008e9da18edc1678c4a08dec68d --- /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