Starting a web browser: Difference between revisions
Content added Content deleted
(J) |
|||
Line 255: | Line 255: | ||
Similar to the Raku entry. |
Similar to the Raku entry. |
||
</pre> |
</pre> |
||
=={{header|J}}== |
|||
Here, we assume that <code>browser</code> refers to a browser in a format which is usable by a command shell, and <code>din5008</code> and <code>sampledata</code> have been defined according to the [[Separate_the_house_number_from_the_street_name#J|J house number street name]] task entry: |
|||
<lang J> wrap=: {{'<',m,'>',y,'</',(;{.;:m),'>' }}(L:0)("1) |
|||
'table.htm'fwrite~'<style>tr:nth-child(even){color:blue}</style>','table' wrap ,'tr' wrap ;"1 'td' wrap din5008"1 sampledata |
|||
1660 |
|||
launch browser,' table.htm'</lang> |
|||
(Here, 1660 was the length of the generated file.) |
|||
=={{header|Julia}}== |
=={{header|Julia}}== |