Formatting changes to the cheat-sheet
This commit is contained in:
parent
cbd4d86acd
commit
720e7a26bf
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue