# vrf XOR FUNCTION

Question asked by VRFuser on Aug 13, 2001

Correct me when I am wrong, but I believe 31 = &B 00011111 in stead of 00110001 !!

B.t.w. To do a bitwise XOR, use the bitXor(x,y) function. It can be found found under built-in functions / bitwise.

-----------------------------------------------------------------------------------------------
S. Wubbels
Test Engineer

MST - Personal Communications
Philips Semiconductors
Gerstweg 2 Nijmegen
Tel.: (+35) (0)24 353 29 90
E-mail: Sander.Wubbels@philips.com
-------------------------------------------------------------------------------------------------

Scott Thompson <sthompson@cmltduk.com>@lvld.agilent.com on 14/08/2001 12:14:39

Sent by:  owner-vrf@lvld.agilent.com

To:     "'vrf@lvld.agilent.com'" <vrf@lvld.agilent.com>
cc:      (bcc: Sander Wubbels/NYM/SC/PHILIPS)
Subject:  vrf XOR FUNCTION
Classification:

Hi everyone

I am trying to perform an XOR function on six numbers for example :-

XOR 31,48,44,54,20,20 = 69

the result will be 69. The trouble is the XOR function in VEE 5.01 only
gives 0 or 1 so i have to convert each number into a binary array and then
pass each one though the XOR function e.g.

31=00110001 48=01001000 put through XOR gives = 01111001 then put 01111001
XOR with the next number
44=010001010 = ......and so on and so on until the last number 20

if i can do this calculation using the Windows Calculator there must be an
easier way of doing this with VEE.
Any help would be great!

Many thanks

Scott Thompson

CHANNEL MASTER UK
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"

---------------------------------------------------------------------

---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"

---------------------------------------------------------------------