HP Forums

Full Version: recalling subroutine
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,
why this code won't work?
Code:

GF1();
// declared 'cause I don't want to export GF1

EXPORT gamma(a,l,n)
BEGIN
local f;
f:=int(GF1(a,l,X), X, 0, n);
return f;
END;

GF1(a,l,n)
BEGIN
return (l*e^(-l*n)*(l*n)^(a-1))/Gamma(a);
END;

I get undef...

The formula in G1 is right.

Thanks
Reference URL's