Difference between revisions of "Expressions"

Line 5: Line 5:
  
 
The definition of each variable is an expression, such as
 
The definition of each variable is an expression, such as
 +
:<code><nowiki>(- B + Sqrt(B^2 - 4*A*B))/(2*A)</nowiki></code>
  
:'''<nowiki>(- B + Sqrt(B^2 - 4*A*B))/(2*A)</nowiki>'''
+
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, <code>IF THEN ELSE</code>, or a function call, such as <code>Sqrt(B)</code>.
  
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 <code>BEGIN ... END </code> statements, '''For '''and '''While '''loops, local variables and assignments.
 
+
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==
 
==Contents of the Analytica User Guide Chapter 10==

Revision as of 10:02, 7 September 2015


Analytica User Guide > Using Expressions

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

See Also

Creating Interfaces for End Users <- Using Expressions -> Arrays and Indexes
Comments


You are not allowed to post comments.