both Ok -prefer the line drawing.

Don Kelly

On 03/11/2014 4:28 PM, Devon McCormick wrote:
Who is able to see the below looking like it ought to (evenly ASCII-boxed,
then line-drawing boxed)?
I highlighted this in Gmail and set the font to Courier New.

    ('hi';'ho'),('off';'to'),:'work';'we';'go'
+----+--+--+
|hi  |ho|  |
+----+--+--+
|off |to|  |
+----+--+--+
|work|we|go|
+----+--+--+
    9!:7]a.{~16+i.11

    ('hi';'ho'),('off';'to'),:'work';'we';'go'
┌────┬──┬──┐
│hi  │ho│  │
├────┼──┼──┤
│off │to│  │
├────┼──┼──┤
│work│we│go│
└────┴──┴──┘


On Mon, Nov 3, 2014 at 4:39 PM, Devon McCormick <devon...@gmail.com> wrote:

Except that this forum drops images attached to e-mails.  However, it's
easy enough to create a page on the J wiki and display anything there.

On Mon, Nov 3, 2014 at 10:37 AM, Skip Cave <s...@caveconsulting.com>
wrote:

Linda,

If you are using Windows, there is a "Snipping Tool" in Windows that can
take a screenshot of any area on the screen. Click the Start button, and
search for "Snipping".

Bring up J, and execute your functions so they display the output in the J
window. Then start the snip tool. Select "Rectangular Snip" from the "New"
menu, and then draw a box around the the output in the J window that you
want to show. Release the mouse and the snipped image will appear in a new
window. Save the image as a .png file. Then you can attach the .png to any
email. This also works well for saving plot images.

Skip

Skip Cave
Cave Consulting LLC

On Mon, Nov 3, 2014 at 9:00 AM, chris burke <cbu...@jsoftware.com> wrote:

I'm still trying to find how to get "html" or "rich text" like I used
in
an old outlook.  This is my rather ugly new version.

There is no way to ensure that boxed output appears correctly in emails.
Note that it may show correctly in your email program, but not in other
email programs.

It is best to not rely on boxed output. Instead, show minimal output as
in
Raul's message, or no output at all, or use the wiki or some other web
page
to show the full output.


On Sun, Nov 2, 2014 at 11:06 PM, Linda Alvord <lindaalv...@verizon.net>
wrote:

Raul,   I'm still trying to find how to get "html" or "rich text"
like I
used in an old outlook.  This is my rather ugly new version.

    rrN=:'x+y x-y x<.y x>.y'
    M=:'+ - <. >.'
    dyads=: 13 :' ,. <"1 ''x'',"1(>;:y),"1 ''y'''
    (dyads M)
┌────┐
│x+ y│
├────┤
│x- y│
├────┤
│x<.y│
├────┤
│x>.y│
└────┘
    s=: [: ,. [: <;._1 ' ' , ]
    s N
┌───┬───┬────┬────┐
│x+y│x-y│x<.y│x>.y│
└───┴───┴────┴────┘
    s=: [: ,. [: <;._1 ' ' , ]
    (s N),.dyads M
┌────┬────┐
│x+y │x+ y│
├────┼────┤
│x-y │x- y│
├────┼────┤
│x<.y│x<.y│
├────┼────┤
│x>.y│x>.y│
└────┴────┘
    5!:4 <'s'

    5!:4 <'s'
   ┌─ [:
   ├─ ,.
   │    ┌─ [:
──┤    │      ┌─ <
   │    ├─ ;. ─┴─ _1
   └────┤
        │      ┌─ ' '
        └──────┼─ ,
               └─ ]

I still need to write your version explicitly as I don't quite get  ;.
Yet.

However in later greades it will be easier to add new verbs to M than
N
so
maybe you have ideas to improve  dyads.

Thanks   Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com [mailto:
programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller
Sent: Sunday, November 2, 2014 7:19 PM
To: Programming forum
Subject: Re: [Jprogramming] This surprised me.

I guess your & allergy hits you for anything you inspect?

Here's a variation on cut which will do the job:

    simplercut=: [: <;._1 ' ' , ]

    N=:'x+y x-y x<.y x>.y'
    simplercut N
+---+---+----+----+
|x+y|x-y|x<.y|x>.y|
+---+---+----+----+

I hope this helps.

--
Raul


On Sun, Nov 2, 2014 at 1:08 PM, Linda Alvord <lindaalv...@verizon.net
wrote:

Thanks Raul,

Cut works but has too many  & and @'s and all sorts of other stuff.

I got what I wanted with

      M=:'+ - <. >.'
    ,.<"1 'x ',"1 (>;:M),"1' y'
-------┐
│x +  y│
+------+
│x -  y│
+------+
│x <. y│
+------+
│x >. y│
L-------

I can't find where to get "html" or "rich text" in the current
Outlook.
Sorry.

Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of
Linda
Alvord
Sent: Sunday, November 2, 2014 9:07 AM
To: programm...@jsoftware.com
Subject: [Jprogramming] This surprised me.

   M=:'+ - <. >.'

    ;:M

--T-T--T--┐
│+│-│<.│>.│
L-+-+--+---

    N=:'x+y x-y x<.y x>.y'

    ;:N



I wanted 4  boxes for N

Linda


----------------------------------------------------------------------
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
----------------------------------------------------------------------
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

Reply via email to