# Difference between revisions of "Expressions"

DKontotasiou (talk | contribs) |
DKontotasiou (talk | contribs) |
||

Line 10: | Line 10: | ||

An expression can consist of or contain a literal number (including Boolean or date), a text value, an identifier of a variable, an arithmetic expression, a comparison or logical expression, '''IF THEN ELSE''', or a function call, such as '''Sqrt(B)'''. | An expression can consist of or contain a literal number (including Boolean or date), a text value, an identifier of a variable, an arithmetic expression, a comparison or logical expression, '''IF THEN ELSE''', or a function call, such as '''Sqrt(B)'''. | ||

− | See [[ | + | See [[Procedural Programming]] for details on more advanced constructs, such as '''BEGIN ... END '''statements, '''For '''and '''While '''loops, local variables and assignments. |

− | ==Contents of the Analytica User Guide Chapter | + | ==Contents of the Analytica User Guide Chapter 10== |

− | + | * [[Numbers]] | |

− | + | * [[Date and Time Values]] | |

− | + | * [[Boolean or truth values]] | |

− | + | * [[Text values]] | |

− | + | * [[Operators]] | |

− | + | * [[IF a THEN b ELSE c]] | |

− | + | * [[Function calls and parameters]] | |

− | + | * [[Math functions]] | |

− | + | * [[Numbers and text]] | |

− | + | * [[Exception values INF, NAN, and NULL]] | |

− | + | * [[Warnings]] | |

− | + | * [[Datatype functions]] | |

==See Also== | ==See Also== |

## Revision as of 06:31, 3 September 2015

The definition of each variable is an expression, such as

**(- B + Sqrt(B^2 - 4*A*B))/(2*A)**

An expression can consist of or contain a literal number (including Boolean or date), a text value, an identifier of a variable, an arithmetic expression, a comparison or logical expression, **IF THEN ELSE**, or a function call, such as **Sqrt(B)**.

See Procedural Programming for details on more advanced constructs, such as **BEGIN ... END **statements, **For **and **While **loops, local variables and assignments.

## Contents of the Analytica User Guide Chapter 10

- Numbers
- Date and Time Values
- Boolean or truth values
- Text values
- Operators
- IF a THEN b ELSE c
- Function calls and parameters
- Math functions
- Numbers and text
- Exception values INF, NAN, and NULL
- Warnings
- Datatype functions

## See Also

Chapter 9: Creating Interfaces for End Users <- | Chapter 10: Using Expressions | -> Chapter 11: Arrays and Indexes |

Comments

Enable comment auto-refresher