Raul wrote: > I should have tested in a clean session before posting. When the correctness of code I intend to share is important to me, I copy the entire thing, start a new, profile-less J console session, and paste the code there. If I get the results I expect, I then paste it into an email. If it doesn't, I shut down the J console, edit the original source, and start over (copy the entire thing....).
Of course I adjust this methodology as needed (e.g. load the profile if I need standard libraries or JAL, use j.exe instead of jconsole.exe if I need wd, etc). But generally I try to minimize my assumptions. Of course, then the email process introduces spurious newlines and breaks my code anyway (my email habit of distinguishing code from prose by indenting it with TABs doesn't help, either). -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
