Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. Thanks for visiting!

DEVI - Simple Expressions, Terms, and Operators - Expressions, Terms and Operators

Expression

A formula telling the computer exactly how to generate the desired value.
An expression has a type and a value.
An expression must be evaluated at run-time in order to determine its value.

E.g. Var1 * Var2

Evaluation

To Evaluate an expression means to follow the instructions.
The value may be different each time at runtime but the type does not change.

Term

Part of an expression that evaluates to a value.
It can be anything as long as the function returns a value.
A term can also be another expression surrounded by parentheses.

Operator

Part of an expression that acts upon the term directly following it (unary operator), or the terms on either side of it (binary operator).
Operators are represented by symbols  or reserved words.
They are defined by C/AL language and cannot be redefined/added by the programmer.
During Expression Evaluation, when the operator operates on its terms, it results in another value which may be the value of the expression or a term used by another Operator.

Popularity: 5% [?]

Listen to this podcast Listen to this podcast

Print This Post Print This Post





  • Related Posts



  • Leave a Reply

    Comment moderation is enabled. Your comment may take some time to appear.