= - Operator (Comparison on equality)

Concerns

This operator performs a logical comparison between two expressions to the left and right of the operator.

Example

Dim V1 As Long, V2 As Long, V3 As Boolean

V1 := 8

V2 := 4

V3 := (V1 = V2)

Result:

V3 has got the value False (0).

Other spellings that produce the same result are:

V3 := (V1 EQ V2)

V3 := (V1 == V2)