Raul wrote:
>  pc_rdm0=: ....

This is an instructive solution (at least for me, who doesn't "know"
parsers).  I am particularly pleased with the application of ;: to its
purpose, while avoiding the quagmire of a giant, un-maintainable state
table.  Breaking it up was clever, and also mirrors (and elucidates) the
hierarchy of constants in the DoJ.   

For example, you allowed me to recognize 2e3 2x3 2p3 as a family, which I
hadn't before (I had mentally separated 2e3 from the rest because of its
elevated position in the hierarchy).  

Well done. Commensurate extra credit will be awarded (when I finish my study
I'll post the tally).  

BTW, you have a bug:

           pc_rdm0 '1p1'
        |value error: num5p
        |       pc_rdm0'1p1'
           
The fix:
           num5p =: numb5p   NB.  Rename num5p to num B 5p
           pc_rdm0 '1p1'
        (1)*(o.1)^1

Similarly for num5x (I found these when I tried  pc_rdm0 f.  ).
                
-Dan



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to