In J6 the hfd (hex from decimal) verb in the convert script was:
hfd=: '0123456789ABCDEF' {~ 16 #.^:_1 ]

In J7 the hfd verb is incorporated into the stdlib.ijs script (loaded
automatically) and is defined as:
hfd=: '0123456789abcdef' {~ 16 #.^:_1 ]

One side effect of this change is the potential for unintended
incompatibilities between J6 & J7 code.

For example the recent J Rosetta Code submissions for the URL
encode/decode tasks work fine in J6 but
http://rosettacode.org/wiki/URL_decoding#J
http://rosettacode.org/wiki/URL_encoding#J

Are there good reasons for the definition change? If there aren't my
suggestion is that the old definition be reinstated.

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

Reply via email to