| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<!-- This is an automatically generated file. --> |
| 4 |
<Chapter Label="Chapter_Examples_Chapter"> |
| 5 |
<Heading>Examples Chapter</Heading> |
| 6 |
|
| 7 |
<Section Label="Chapter_Examples_Chapter_Section_Examples_Section"> |
| 8 |
<Heading>Examples Section</Heading> |
| 9 |
|
| 10 |
This worksheet exercises example and log commands in plain-text mode. |
| 11 |
<P/> |
| 12 |
<Subsection Label="Chapter_Examples_Chapter_Section_Examples_Section_Subsection_Tested_examples"> |
| 13 |
<Heading>Tested examples</Heading> |
| 14 |
|
| 15 |
<Example><![CDATA[ |
| 16 |
gap> plain_example_value := 2 + 3; |
| 17 |
5 |
| 18 |
]]></Example> |
| 19 |
|
| 20 |
<P/> |
| 21 |
<Example><![CDATA[ |
| 22 |
gap> plain_alias_example := 3 + 4; |
| 23 |
7 |
| 24 |
]]></Example> |
| 25 |
|
| 26 |
<P/> |
| 27 |
<Example><![CDATA[ |
| 28 |
gap> 10 - 3; |
| 29 |
7 |
| 30 |
]]></Example> |
| 31 |
|
| 32 |
<P/> |
| 33 |
<Example><![CDATA[ |
| 34 |
gap> 6 * 7; |
| 35 |
42 |
| 36 |
]]></Example> |
| 37 |
|
| 38 |
<P/> |
| 39 |
</Subsection> |
| 40 |
|
| 41 |
<Subsection Label="Chapter_Examples_Chapter_Section_Examples_Section_Subsection_Untested_logs"> |
| 42 |
<Heading>Untested logs</Heading> |
| 43 |
|
| 44 |
<Log><![CDATA[ |
| 45 |
gap> plain_log_value := 9; |
| 46 |
9 |
| 47 |
]]></Log> |
| 48 |
|
| 49 |
<P/> |
| 50 |
<Log><![CDATA[ |
| 51 |
gap> plain_alias_log := 11; |
| 52 |
11 |
| 53 |
]]></Log> |
| 54 |
|
| 55 |
<P/> |
| 56 |
<Log><![CDATA[ |
| 57 |
gap> "plain log session"; |
| 58 |
"plain log session" |
| 59 |
]]></Log> |
| 60 |
|
| 61 |
<P/> |
| 62 |
<Log><![CDATA[ |
| 63 |
gap> "plain alias log session"; |
| 64 |
"plain alias log session" |
| 65 |
]]></Log> |
| 66 |
|
| 67 |
</Subsection> |
| 68 |
|
| 69 |
</Section> |
| 70 |
|
| 71 |
</Chapter> |
| 72 |
|