Anonymous user
CSV to HTML translation: Difference between revisions
m
→{{header|Retro}}: forgot to include the output
(add language: Retro) |
m (→{{header|Retro}}: forgot to include the output) |
||
Line 2,338:
: displayHTML ( $- )
"<table>\n<tr><td>" puts
[ @ display ] ^types'STRING each@
Line 2,344 ⟶ 2,343:
CSV displayHTML</lang>
Ouput:
<lang html5><table>
<tr><td>Character</td><td>Speech</td></tr>
<tr><td>The multitude</td><td>The messiah! Show us the messiah!</td></tr>
<tr><td>Brians mother</td><td><angry>Now you listen here! He's not the messiah; he's a very naughty boy! Now go away!</angry></td></tr>
<tr><td>The multitude</td><td>Who are you?</td></tr>
<tr><td>Brians mother</td><td>I'm his mother; that's who!</td></tr>
<tr><td>The multitude</td><td>Behold his mother! Behold his mother!</td></tr>
</table></lang>
=={{header|Ruby}}==
|