Create an HTML table: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Minor tidy)
(Added Easylang)
Line 1,367: Line 1,367:
<tr><td>4</td><td>4785</td><td>6612</td><td>5042</td></tr>
<tr><td>4</td><td>4785</td><td>6612</td><td>5042</td></tr>
</table></syntaxhighlight>
</table></syntaxhighlight>

=={{header|EasyLang}}==
<syntaxhighlight>
print "<table border=1>"
write "<tr><th>"
for c$ in strchars "XYZ"
write "<th>" & c$
.
print "\n<tbody align=right>"
for r to 3
write "<tr><td>" & r
for c to 3
write "<td>" & randint 200
.
print ""
.
print "</table>"
</syntaxhighlight>
{{out}}
<table border=1>
<tr><th><th>X<th>Y<th>Z
<tbody align=right>
<tr><td>1<td>39<td>128<td>180
<tr><td>2<td>119<td>21<td>11
<tr><td>3<td>182<td>54<td>159
</table>


=={{header|EchoLisp}}==
=={{header|EchoLisp}}==