Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The function of Xor operator in VBS

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces "the function of Xor operator in VBS". In daily operation, I believe that many people have doubts about the role of Xor operator in VBS. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "the role of Xor operator in VBS". Next, please follow the editor to study!

Perform a logical XOR operation on two expressions.

Result = expression1 Xor expression2

Parameter result

Any numeric variable.

Expression1

Any expression.

Expression2

Any expression.

Description

If there is one and only one expression is True, result is True. However, if either expression is Null, result is also Null. If neither expression is Null, determine the result based on the following table:

If expression1 is expression2, result is TrueTrueFalseTrueFalseTrueFalseTrueTrueFalseFalseFalse

The Xor operator can also perform a bit-by-bit comparison of the same bits in two numeric expressions and set the corresponding bits in result according to the following table:

If the bit in expression1 is the bit in expression2, then result is 000011101110, so the study on "the role of Xor operator in VBS" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report