Jump to content

Create an HTML table: Difference between revisions

Multiple corrections to make the program compile with Nim 1.4.
(Create an HTML table en FreeBASIC)
(Multiple corrections to make the program compile with Nim 1.4.)
Line 3,673:
 
=={{header|Nim}}==
<lang nim>import mathrandom, htmlgen
randomize()
 
template randTD(): exprstring = td($randomrand(1000..9999))
proc randTR(x: int): autostring =
tr(td($x, style="font-weight: bold"), randTD, randTD, randTD)
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.