HiLMAs reference
Back

String Handling

Next

BITXOR

BITXOR var1,var2

 

Description

This statement do a bitwise XOR between var1 and var2; that is, every corresponding bit of the variables (from left to right) is logically added with an exclusive OR and result is overlayed in var1.

Logically XORed mean: 1 x 1 = 0; 1 x 0 = 0; 0 x 1 = 0; 0 x 0 = 0.

This bitwise XOR is ever done no matter of what type of variables are used and its length correspond to the shortest length between var1 and var2.

 

Parameter specifications

Parameter Name Mode Type coding Remark
1 var1 Input/Output Every type Max length 255 char.
2 var2 Input Every type Max length 255 char.

 

 

Examples

 


Back Start Next
BITOR Top NUM2EDIT