Expressions


This chapter introduces expressions -- the Analytica language used in definitions to calculate the value of a variable from other variables, 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). These constructs are also introduced in this chapter.

For details on more advanced constructs, such as BEGIN ... END statements, For and While loops, local variables and assignments, references and data Structures, and handles to objects, see Procedural Programming. Analytica has the expressive power to express such concepts, too, and includes a general computer language, like Visual Basic or C++.

Sections

See Also


Comments


You are not allowed to post comments.