home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
basic
/
baswiz18.zip
/
BW$BAS.ZIP
/
FACTS.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-08-29
|
710b
|
18 lines
' +----------------------------------------------------------------------+
' | |
' | BASWIZ Copyright (c) 1990-1992 Thomas G. Hanlin III |
' | |
' | The BASIC Wizard's Library |
' | |
' +----------------------------------------------------------------------+
DEFINT A-Z
FUNCTION FactS! (Num AS INTEGER)
Result! = 1!
FOR N = 2 TO Num
Result! = Result! * N
NEXT
FactS! = Result!
END FUNCTION