Author: ssyleessylee Date: Apr 3, 2008 00:29
On Apr 3, 12:11 am, "John H Meyers" wrote:
> On Thu, 03 Apr 2008 01:07:31 -0500, ssylee wrote:
>> Does anyone know what the variables that allow me to have a calculated
>> output based on the inputs on the stack is called? I'm trying to write
>> up some scripts for me to carry out repeating calculations faster when
>> I'm away from my computer and only with my calculator. Thanks.
>
> Programs?
>
> Are you referring in particular to "User-defined functions"?
>
> It's not necessary to follow that style, because any program at all
> can use data from the stack; a "UDF" is basically a program
> which can be treated as a function within an algebraic formula, e.g.:
>
> 'Stan(x,y,z)=z^2-x^2-y^2' DEFINE
>
> creates a program named 'Stan'
> which takes its three arguments from the stack
> and evaluates the given expression; ...
|