On Tue, Jun 7, 2022 at 11:11 AM Devon McCormick <devon...@gmail.com> wrote:
> > The 'b' notation is useful when importing numbers which were
> > originally supplied in non-base-10 format. (Hexadecimal, octal and
> > binary are relatively common in some contexts.)
>
> Even in this case, unless the numbers are already written in J notation, I
> don't see how putting a "16b" or "8b" in front of each number is any
> simpler than simply doing base conversion.

For example, when converting some graphics or file manipulation code
from C to J, I might have a bunch of numbers with 0x prefixes. I can
text replace 0x with 16b.

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

Reply via email to