Yuvaraj Athur Raghuvir wrote:
> Ok, this is what I have:
> 
>    ic=: 3!:4
>    endian=. a. i. {. 1 ic 1
>    (endian,0 0 0) { a.
> 
>    (endian,1 0 0) { a.
> 
>    (endian,2 0 0) { a.
> 
>    (endian,3 0 0) { a.
> 
> 
> I would like to see these binary forms explicitly in the J Session Manager.
> I remember seeing them as such (some strange symbols but distinguishable).
> 
> I used J602 earlier. And am using J602 now. So, I my first guess was that
> something is different in the windows gui controls on this laptop of mine.
> 
> I use this in the following ways:
> RESPONSE=: (endian,3 0 0) { a.
> a =. cmdr__o 'Mcmdcount__theObj'  NB. this is a command send over a socket
> and receives the data with a header that describes the data
> I can then splice the message as follows:
>    splice a
> +----+-+------+++
> |  |6|582396|||
> +----+-+------+++
> and compare the header as so
>    RESPONSE -: (> 0 {  splice a)
> 1
> 
> Does this make my problem clear : I would like to see the various binary
> forms distinguished in the J Session Manager. I am using Courier New font.
> Is there any (OS) system setting that can help me here?

These examples use the first 4 bytes, i.e. 4 {. a. . These are not
proper text anyway, since that begins at character 32. The first block
of normal text characters is (32+i.95) { a. .

How 4 {. a. displays depends on the font used, and you need to
experiment with fonts to find one that behaves as in your old system. It
may be better to avoid trying to view such characters, and instead
convert them into numbers for viewing.

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

Reply via email to