Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,33 @@
class CreateTable {
function : Main(args : String[]) ~ Nil {
s := String->New();
s->Append("<table>");
s->Append("<thead align = \"right\">");
s->Append("<tr><th></th>");
td := "XYZ";
for(i:=0; i<3; i+=1;) {
s->Append("<td>");
s->Append(td->Get(i));
s->Append("</td>");
};
s->Append("</tr>");
s->Append("</thead>");
s->Append("<tbody align = \"right\">");
for(i:=0; i<3; i+=1;) {
s->Append("<tr><td>");
s->Append(i);
s->Append("</td>");
for(j:=0; j<3; j+=1;) {
s->Append("<td>");
s->Append((Float->Random() * 10000)->As(Int));
s->Append("</td>");
};
s->Append("</tr>");
};
s->Append("</tbody>");
s->Append("</table>");
s->PrintLine();
}
}