Get the App
SLTechnology News&Howtos  ›  Development  › 

The function of Imp operator in VBS

Shulou Source: shulou.com Published: 2022-06-03 19:37:44 11月06日 Update

This article focuses on "the role of Imp operator in VBS". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn the role of Imp operator in VBS.

Perform logical implication operations on two expressions.

Result = expression1 Imp expression2

Parameter result

Any numeric variable.

Expression1

Any expression.

Expression2

Any expression.

Description

The following table shows how to determine the value of result:

Result is TrueTrueTrueTrueFalseFalseTrueNullNullFalseTrueTrueFalseFalseTrueFalseNullTrueNullTrueTrueNullFalseNullNullNullNull if expression1 is and expression2 is

The Imp operator performs a bit-by-bit comparison of the corresponding bits of two numeric expressions and sets the result corresponding bits according to the following table:

If the bit in expression1 is and the bit in expression2 is 001011100111, then result is 001011100111. I believe you have a deeper understanding of "the role of Imp operator in VBS". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Operation operator expression action two content numerical learning practical deeper interest parameter variable practicality practical simple operation method more friends website Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi MariaDB OPPO Reno macOS