Jump to content

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 ( $- )
clear
"<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>&lt;angry&gt;Now you listen here! He's not the messiah; he's a very naughty boy! Now go away!&lt;/angry&gt;</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}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.