HiLMAs reference
Back

String Handling

Next

BITAND

BITAND var1,var2

 

Description

This statement do a bitwise AND between var1 and var2; that is, every corresponding bit of the variables (from left to right) is logically multiplied and result is overlayed in var1.

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

This bitwise AND 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
WORD Top BITOR