AnsweredAssumed Answered

Re6: vrf A question about assignments and local variables

Question asked by rsb on Apr 8, 2005
"Simon Parfitt" <Simon.Parfitt@renesas.com> wrote:
> Ok
>
>
> Again
>
> Simon

Cool- works fine (albeit requiring VEE 7 and limited to
strings and numerics- no complex, coords, etc) but requires
only a formula. Uses an external function so does create
new data but that's transparent so I'd say it qualifies!

So now we have

METHOD                          RESTRICTIONS

Array                             a and B must match type,shape,size
a=[a,b];b=a[0];a=a[1]             string, integer, real, complex, record
                                  no waveform or spectrum


even/odd                          a and b must match type, shape, size
b=b+a; a=b-a; b=b-a;              numeric types , scalar or array
                                  no strings or records or uint8

xor                               a and b must match type, shape, size
a=a xor b;b=a xor b;a=a xor b     integers only

system stack
Set stack = CreateInstance("mscorlib", "System.Collections.Stack" );
stack.Push(A);
stack.Push(B);                    a and b must match type, shape, size
A=stack.Pop( );                   string, integer, real, scalar or array
B=stack.Pop( );                  
stack.Clear( );

anyone else?


Stan


--------------------------------------------------------------------------
Stan Bischof  Agilent Technologies  707-577-3994  stan_bischof@agilent.com
--------------------------------------------------------------------------

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes