PLOGHELP PLUS                              Kathryn Seifert  October 1986

Operator to add two numbers together

    ?- X is <num> + <num>.

Keywords: addition, arithmetic expressions, arithmetic, evaluation


To add two numbers together, use the plus sign, with the operator "is":

        ?- X is 2 + 1.
        X = 3 ?

-- RELATED DOCUMENTATION -----------------------------------------------

PLOGHELP * ARITHMETIC
 Overview of HELP files dealing with operations on numbers.

PLOGHELP * IS
 Evaluating POP-11 and arithmetic expressions which return one result

PLOGHELP * SYMBOLS
 Summary and index of HELP files for symbols used in Prolog

PLOGHELP * OPERATORS
 Operator declarations made when the Prolog system is loaded

PLOGHELP * OP
 How to declare operators
