Difference between revisions of "Typographic conventions in this guide"
DKontotasiou (talk | contribs) |
DKontotasiou (talk | contribs) |
||
Line 21: | Line 21: | ||
|- | |- | ||
− | | style="background-color:#e6e6e6;border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| | + | | style="background-color:#e6e6e6;border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| <code>Price - DownPmt</code> |
| style="border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| Expressions, definitions, example code. | | style="border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| Expressions, definitions, example code. | ||
|- | |- | ||
− | | style="background-color:#e6e6e6;border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| | + | | style="background-color:#e6e6e6;border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| <code>10^7 → 10M</code> |
| style="border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| In example code, this means that the variable or expression before the “→” generates the result after it. | | style="border-top:0.35pt solid #000001;border-bottom:0.35pt solid #000001;border-left:0.6pt solid #000001;border-right:0.6pt solid #000001;padding:0cm;"| In example code, this means that the variable or expression before the “→” generates the result after it. | ||
Line 36: | Line 36: | ||
'''Code examples''': This guide includes snippets of code to illustrate features, for example: | '''Code examples''': This guide includes snippets of code to illustrate features, for example: | ||
− | <code>Index N := [1, 2, 3, 4, 5]</code> | + | :<code>Index N := [1, 2, 3, 4, 5]</code> |
− | + | :<code>Variable Squares := N^2 </code> | |
− | <code>Variable Squares := N^2 </code> | + | :<code>Sum(Squares, N) → 55</code> |
− | |||
− | <code>Sum(Squares, N) → 55</code> | ||
This code says that there are two objects, an index <code>N</code> and a variable <code>Squares</code>. You would create these objects in a '''Diagram '''window by dragging from the node toolbar into the diagram (see “Creating and editing nodes”). You would enter the expressions, <code>[1, 2, 3, 4, 5]</code> and <code>N^2</code> into their definitions (see “Creating or editing a definition”). You would ''not ''enter the assignment “<code>:=</code>”. The last line says that the expression <code>Sum(Squares, N)</code> evaluates to the result <code>55</code> after the →. You might include that expression in the definition of third variable. | This code says that there are two objects, an index <code>N</code> and a variable <code>Squares</code>. You would create these objects in a '''Diagram '''window by dragging from the node toolbar into the diagram (see “Creating and editing nodes”). You would enter the expressions, <code>[1, 2, 3, 4, 5]</code> and <code>N^2</code> into their definitions (see “Creating or editing a definition”). You would ''not ''enter the assignment “<code>:=</code>”. The last line says that the expression <code>Sum(Squares, N)</code> evaluates to the result <code>55</code> after the →. You might include that expression in the definition of third variable. |
Revision as of 08:24, 7 September 2015
Analytica User Guide > Introduction: About Analytica > Typographic conventions in this guide
Example | Meaning |
behavior analysis | Key terms when introduced. Most of these terms are included in the Glossary. |
Diagram | Menus and menu commands, window names, panel names, dialog box names, function parameters. |
Sequence() | Name of a variable or function in Analytica. |
Price - DownPmt
|
Expressions, definitions, example code. |
10^7 → 10M
|
In example code, this means that the variable or expression before the “→” generates the result after it. |
Enter, Control+a | A key or key-combination on the keyboard. A letter, such as “a”, can be lower- or uppercase. |
Code examples: This guide includes snippets of code to illustrate features, for example:
Index N := [1, 2, 3, 4, 5]
Variable Squares := N^2
Sum(Squares, N) → 55
This code says that there are two objects, an index N
and a variable Squares
. You would create these objects in a Diagram window by dragging from the node toolbar into the diagram (see “Creating and editing nodes”). You would enter the expressions, [1, 2, 3, 4, 5]
and N^2
into their definitions (see “Creating or editing a definition”). You would not enter the assignment “:=
”. The last line says that the expression Sum(Squares, N)
evaluates to the result 55
after the →. You might include that expression in the definition of third variable.
Array examples: We use these typographic conventions to show Analytica arrays.
See Also
Normally, usually, and defaults <- | Typographic conventions in this guide | -> User guide Examples folder |
Enable comment auto-refresher