Hello I've been using Ric's html table output code quite usefully. I wanted to add it to my z namespace.
I saved the definitions to '~user/temp/htmltab.ijs' And inside '~config/startup.ijs': ==== load '~user/temp/htmltab.ijs' ==== However, when I run ijix in jhs: thh 10 <style type="text/css"> .jarray {font-family:monospace;} table.jarray {border-collapse:collapse;} table.jarray td {border:solid black thin; vertical-align:top; padding:0.4em;} table.jarray tr.spacer td {border:none;} </style> <div class=jarray>10</div> thh <10 NB. why length error here? Compare this with the following |length error: thh | z=.h thh&.>"2,:^:(0>.2-#$y)y load '~user/temp/htmltab.ijs' thh <10 NB. it works here <style type="text/css"> .jarray {font-family:monospace;} table.jarray {border-collapse:collapse;} table.jarray td {border:solid black thin; vertical-align:top; padding:0.4em;} table.jarray tr.spacer td {border:none;} </style> <div class=jarray><table class=jarray><tr><td>10</td></tr></table> </div> Strangely, it works okay in jconsole without explicit loading needed. It fails in jgtk as in jhs. Am I missing something obvious? June ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm