| Syntax Elements | Source | Preprocessor | Types | Expressions | Backtick Expressions | Statements | Class | Logging |
Expression results into a value
Content of this chapter: |
Expression : LiteralExpression | AssignmentExpression | OperatorExpression | IdentifierExpression | NewExpression | InstanceOfExpression | DelegateExpression | LambdaExpression ;
Sub chapter pages: Literals are hard coded values of basic or component types. CfgScript Assignment Expressions Assignment bind values to a variable CfgScript Operator Expressions An Operator is a special function connected to a Object or class. CfgScript Instanceof Expressions instanceof check if an object is type of a class CfgScript delegate Expressions Delegates are a powerfull mechanism to implement function level dispatching, callbacks and signal/slot mechanism. The lambda expression is a easy way to define methods in place. The result of a lambda expression is a Delegate object. |