Oh, well that makes a little more sense. Thanks. I have to say though, the "conversions" page is slightly misleading. If I type "hexadecimal" in the jsoftware search box, it is the first or second link in the results.
In what situation would someone use 3!:3 then? > Date: Mon, 1 Dec 2014 10:32:28 -0500 > From: devon...@gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Hexadecimal conversion > > "3!:3" gives you the internal representation of the J noun, including all > the header junk: it's not converting the decimal value to a hex value. > > On Mon, Dec 1, 2014 at 10:31 AM, Jon Hough <jgho...@outlook.com> wrote: > > > Thanks. > > I think those are the verbs defined here, right? > > http://www.jsoftware.com/papers/elegant.htm > > > > So are you suggesting I do not use 3!:3? > > > > > Date: Mon, 1 Dec 2014 15:29:11 +0000 > > > From: programm...@jsoftware.com > > > To: programm...@jsoftware.com > > > Subject: Re: [Jprogramming] Hexadecimal conversion > > > > > > In J8, there are profile entries: hfd and dfh. Its available in addons > > for earlier versions. > > > > > > hfd 15 17 > > > 0f > > > 11 > > > > > > > > > hfd 15 > > > f > > > > > > > > > > > > ----- Original Message ----- > > > From: Jon Hough <jgho...@outlook.com> > > > To: "programm...@jsoftware.com" <programm...@jsoftware.com> > > > Cc: > > > Sent: Monday, December 1, 2014 10:24 AM > > > Subject: [Jprogramming] Hexadecimal conversion > > > > > > I have been trying to understand the hex conversion 3!:3 > > > (see : http://www.jsoftware.com/docs/help701/dictionary/dx003.htm ) > > > > > > but cannot understand what the result is. > > > If I define > > > > > > tohex =: 3!:3 > > > > > > and I want to choose to represent my integer in standard byte order > > hex, I can do: > > > > > > 0 tohex 15 > > > which gives, > > > e0000000 > > > 00000004 > > > 00000001 > > > 00000000 > > > 0000000f > > > > > > It seems what I want is in the last row (0000000f = 15). But what does > > all the rest mean? > > > Thanks. > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > Devon McCormick, CFA > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm