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 <[email protected]>
To: "[email protected]" <[email protected]>
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

Reply via email to