Formatting changes to the cheat-sheet

This commit is contained in:
Audun Wilhelmsen 2014-05-04 12:25:38 -07:00
parent cbd4d86acd
commit 720e7a26bf
1 changed files with 4 additions and 2 deletions

View File

@ -174,13 +174,15 @@ s[11] = '!'
<td>
<pre>
char a = '\n';
printf("byte %d\nA%cB\n", a, a);
printf("byte %d\nA%cB\n",
a, a);
</pre>
</td>
<td>
<pre>
let a = '\L'
echo "byte ", $int(a), "\nA" & $a & "B"
echo "byte ", $int(a),
"\nA" & $a & "B"
</pre>
</td>
<td><b>Newlines and chars</b>. In nimrod you can't use ``\n`` as a character literal, because on the Windows platform it expands to CR+LR. So you need to specify which char to use.</i>