RosettaCodeData/Task/Comments/IDL/comments.idl

3 lines
116 B
Plaintext

; The following computes the factorial of a number "n"
fact = product(indgen( n )+1) ; where n should be an integer