=, == Comparison Operators

Purpose

Equality comparison operators.

Syntax

? = exp1 = exp2

? = exp1 == exp2

Description

The result of a relational expression is True if both expression are equal, otherwise tested relationship is False.

Example

OpenW # 1

Global x , y

x = 17, y = 12

Print(x = y ? "True" : "False")

Remarks

As an alternative the C equality comparison operator == can be used.

See Also

<, >, <>, ><, =<, <=, >=., =>, !=, =, ==, Operator Hierarchy

{Created by Sjouke Hamstra; Last updated: 23/09/2014 by James Gaite}