=

=


<> Index Level >
Syntax variable = expression
expression = expression
Category BASIC
Type Operator, Assignment
Description represents either the assignment operator in an assignment statement or a relational operator in a conditional expression.

Although usually done so for clarity, the "=" operator does not require surrounding spaces.

In logical (conditional) expressions, the "eq" symbol is an alternative to the "=" sign.

See "relational.operators" for the exact description of how operands are compared in logical expressions.
Options
See Also assignment MATBUILD MATPARSE ASSIGNED operators special characters EQ IF NOT Boolean Evaluation relational operators LET IFR
Example customer.item<1> = name
This use of the "=" sign illustrates assignment. The array element on the left side of the "=" sign is assigned the current value of the variable, "name".

if answer  = "quit" then stop
This example illustrates a "conditional" expression. If the value of the variable "answer" is "quit", the expression evaluates to "true" and the statement following the "then" condition is executed.
Warnings
Compatibility D3 7.0 AP R83
<> Index Level >