Do do a multi-line verb you have to define as a verb, (monad or dyad
define is a good starter (there is a numeric call for this that is
shorter. Then put in your multiline text, line at a time and finally use
a right parenthese
Here is an example
Bunrad=: dyad define
'rc, rb'=. > x NB.conductor and bundle radii
(# %: */)rc, rb*|1-r. (o. 2%y)*1+i.y-1 NB.y is number of
conductors
)
This is a 1 case but using a numeric call using 4: rather than dyad
define or verb define otherwise any changes in the term requires a
complete rewrite--painful.
NB. conductor spacing brad number of conductors
brad=: 4 : 'x% 2* 1 o. (o.%y) '
If you want to edit your verb, copy to an ijs script- and do the editing
there -such a script can be used to hold multiple items that are
related-you can thenrun it as required (usually load t
Don Kelly -still a learner
On 2023-02-01 12:13 p.m., More Rice wrote:
It is totally awesome.
When I went through the “Learning J” using it, I noticed the “Term” pane
doesn’t do everything our app can do. For example, multi-line input like
verb (explicitly) define does not work. I had to use the “Edit” pane for
that.
Is there a page that documents the limitations/differences?
Thank you for the tool.
Maurice
On Wed, Feb 1, 2023 at 1:07 PM Björn Helgason<gos...@gmail.com> wrote:
I was using a machine that did not have J installed.
I needed to do a little bit of calculations that would be easy in J.
I was thinking about downloading J to be able to do what I wanted.
Then I saw I could use J directly on the web without doing download.
https://jsoftware.github.io/j-playground/bin/html2/#
That was very convenient and solved my needs.
----------------------------------------------------------------------
For information about J forums seehttp://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm