A cool feature that is used in JHS labs is that html is output for 'load' statements.
A nice and easy to understand J design pattern is found in the mapped files db lab (and mappeddb.ijs) where formatting verbs are applied to raw data selection verbs on single lines. The idea is to enhance repl-based apps or just J user's experience with the repl by formatting output with href links that when clicked paste and execute a command in the repl context. This is probably already doable for the most part, and I'd guess some of you have looked into it. Some interesting form fields part of jhs that I have not seen documentation/hype for: <input type="hidden" name="jdo" value="jev_jijx_ 0"> <input type="hidden" name="jid" value="body*"> <input type="hidden" name="jmid" value="body"> (this is the param used for open file) <input type="hidden" name="jsid" value=""> A missing J feature that is probably being done by the jdo post function would be a foreign that either quotes the entire right hand side of the line, or as an adverb, quotes everything in parenthesis to its left. This could also just be an IDE feature to produce quoted output for anything highlighted. Some Applications include: Showing a linked table on click for a related dataset (joined on the linked value) Showing expanded detail about the piece of data. For example tree displays could return top level nodes only, with click through to expand. launching an edit wd/gui for the record/row shown. For regular J work: representation (5!:_) could return clickable train elements, or might evaluate on hover Do you guys have any code examples along these lines, or can point to related writeups on the JHS form fields and how to use them? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
