I agree with you. That would be a change and might discommode some
old-time users, but I bet few would notice.
We could say, pasting above the last line merely edits the log, while
pasting into the last line executes all sentences ended by LF. That is
a very small change from the current behavior.
hhr
On 7/31/2022 11:32 AM, bill lam wrote:
I think this is counter intuitive. It would be nice if all the lines will
be executed together when user press enter after paste.
On Sun, 31 Jul 2022 at 11:20 PM Henry Rich <henryhr...@gmail.com> wrote:
Important point: if you paste multiple lines into Jqt and then press
ENTER, only the last line will be executed. To execute the entire
block, you need 'Run Selection' (F8).
The idea is that the term window is not a session log, it's a window
that you can edit. In general, pressing ENTER on the last line executes
that line, while ENTER on any line but the last copies that line into
the last line.
Henry Rich
On 7/31/2022 10:24 AM, chris burke wrote:
That is the error you get if "iter" is not defined, so you probably
didn't run the first line.
On Sun, Jul 31, 2022 at 4:24 AM Razetime <rraghu.11...@gmail.com> wrote:
On this rosetta code page for the Hilbert Curve
<https://rosettacode.org/wiki/Hilbert_curve#J>, I tried running the
code,
but I get an error:
iter=: (, 1 , +@|.) @: (,~ 0j_1 ,~ 0j_1*|.)
hilbert=: {{0j1+(%{:) +/\0,iter ^: y ''}}
require 'plot'
plot hilbert 5
|value error: iter
| 0j1+(%{:)+/\0, iter^:y''
plot hilbert 5
I am running this on J903, not J902, but i don't see why it isn't
running.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm