Module PermComb { Form 80, 50 perm=lambda (x,y) ->{ def i,z z=1 For i=x-y+1 to x :z*=i:next i =z } fact=lambda (x) ->{ def i,z z=1 For i=2 to x :z*=i:next i =z } comb=lambda (x as decimal, y as decimal) ->{ If y>x then { =0 } else.if x=y then { =1 } else { if x-y