AnsweredAssumed Answered

vrf Formula call

Question asked by rsb on Feb 4, 2005
Barrie Walden <> wrote:
> Hi folks,
> This is probably something everybody else knows but I ran into it for
> the 1st time last week.  The attached simple 6.01 example shows that
> when calling a user function, providing a value via an input pin can
> give a different result than providing the data within a formula call.
> Even the data type is different.
> So, did everyone know this but me? Is there a good reason for these two
> calling methods to act differently? I'd rather they didn't.

The 'result' pin on a formula returns the value of the last
expression evaluated. In your formula the function completes without
error but with no output so the result is "0".

The output of the call object returns the output of the function,
which is nill as it is above. nothing returned, nothing seen.

If you want the same in both cases, make sure that your function
returns something.


Stan Bischof  Agilent Technologies  707-577-3994

You are currently subscribed to vrf as:
To subscribe send a blank email to "".
To unsubscribe send a blank email to "".
To send messages to this mailing list,  email "". 
If you need help with the mailing list send a message to "".