home *** CD-ROM | disk | FTP | other *** search
- ' +----------------------------------------------------------------------+
- ' | |
- ' | BASWIZ Copyright (c) 1990-1993 Thomas G. Hanlin III |
- ' | |
- ' | The BASIC Wizard's Library |
- ' | |
- ' +----------------------------------------------------------------------+
-
- DEFINT A-Z
-
- FUNCTION FactD# (Num AS INTEGER)
- Result# = 1#
- FOR N = 2 TO Num
- Result# = Result# * N
- NEXT
- FactD# = Result#
- END FUNCTION
-