|
THE META-HTML LANGUAGE REFERENCE MANUAL
|
Manual Page Viewer
Name: DEFINE-FUNCTION
Section:
Macro Commands
Synopsis:
<define-function NAME [NAMED-PARAMETER...] [PACKAGE=PACKNAME]>
%body
</define-function>
Description:
<define-function factorial num>
<if <lt num 2> 1
<mul num <factorial <sub num 1>>>>
</define-function>
<factorial 5> --> 120
Edit Pointer
Function Index
Variable Index
Variable Editor

The
META-HTML
Reference Manual V1.4
Copyright © 1995, 1996,
Brian J. Fox,
1996, 1997 Universal Access Inc.
Found a bug? Send mail to
bug-manual@metahtml.com