I felt a bit lost here, until I reviewed this thread to understand what you are doing.
But it looks like you went from Pascal's original example which produced a list of numbers and have gone with a variant which produces two rows of boxes. But then you introduced a variable B without showing its definition. I sometimes do that, also, when I am careless, but I hate when I do that because it just confuses people. In this case, looking at your examples, you've sent another post clarifying the values of A and B but this whole thread was about coding from an example and I guess you are showing alternate versions of a variant that ... I'm not actually sure? Anyways, if you could put down a few of your thoughts about what you are doing in this kind of example, that would be great. Thanks, -- Raul P.S. for people who, like me, who have choosen to use google's mail reader (which implements an assumption that text/plain should default to a proportional spaced font), the forum archive shows things properly: http://jsoftware.com/pipermail/programming/2014-March/036447.html http://jsoftware.com/pipermail/programming/2014-March/036448.html (There's also a menu option "Message text garbled?" currently available in gmail, which also shows the original in monospace, but by referring to the forum, here, I can trim the quoted history from this message.) ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
