¿ªÔÆÌåÓý

Re: Possible g;itch in stepping parameters


 

On Fri, May 2, 2025 at 02:02 PM, <mhx@...> wrote:
is evaluated as if it had been written as (aa + bb) & V(B)
How can your be sure that that was the intention?
I think it is clear - to me at least - that it is the intention, and the only thing that makes sense.? If you started with
VTHRESH & V(B)
with or without curly braces anywhere in there, it seems clear that you want to get the logical AND of something called VTHRESH and the boolean version of voltage V(B).? ?Whether or not VTHRESH has an expression behind it, that should make no difference.? You can not evaluate the AND operation until you know what VTHRESH is, and that means evaluating its formula and turning it into a numerical value.? It makes no sense whatsoever to apply the AND operation to only a portion of what makes up VTHRESH.
?
Therefore, there is an implicit order of operations like this:
( VTHRESH ) & V(B)
no matter whether you wrote VTHRESH or {VTHRESH} and no matter if there was a formula that defines VTHRESH.? The AND operation can only be applied to VTHRESH, not to ESH while omitting VTHR.? ?:-)
?
Andy
?
?
?

Join [email protected] to automatically receive all group messages.