Re: [Jprogramming] Difference between y and ] in a definition

2014-07-07 Thread Linda Alvord
he result of integers as the y argument. > Date: Sun, 06 Jul 2014 04:52:01 -0400 > From: "Linda Alvord" > To: > Subject: [Jprogramming] Difference between y and ] in a definition > Message-ID: <01cf98f7$8e0574a0$aa105de0$@net> > Content-Type: text/plain;

Re: [Jprogramming] Difference between y and ] in a definition

2014-07-06 Thread David Lambert
Alvord" To: Subject: [Jprogramming] Difference between y and ] in a definition Message-ID: <01cf98f7$8e0574a0$aa105de0$@net> Content-Type: text/plain; charset="koi8-r" Here's something I have not understood for a long time: g is the result I want H i

Re: [Jprogramming] Difference between y and ] in a definition

2014-07-06 Thread Ric Sherlock
You have nested tacit verbs within your explicit verb. You need to be able to recognize those verbs and what their right (and left) arguments are. Here is an explicit version of your v0=: 3 : '>: (i. <:y) , (<:y) - i. <: y' Notice that all the parentheses above just change the order of operations

Re: [Jprogramming] Difference between y and ] in a definition

2014-07-06 Thread Raul Miller
You realize, I hope, that in your example (where you are choosing between y and ]) that the value of y is 5 and the value from ] is 0 1 2 3? But I do not know enough about what end result you want, to tell you about what you should be using. Does this help? Thanks, -- Raul On 7/6/14, Linda Al

[Jprogramming] Difference between y and ] in a definition

2014-07-06 Thread Linda Alvord
Here's something I have not understood for a long time: g is the result I want H is not the result I want g=: 13 :'>: ((],-)i.)<: y' h=: 13 :'>: ((y,-)i.)<: y' In both cases y and ] in this example seem to be 5 g 5 1 2 3 4 5 4 3 2 h 5 6 5 4 3 2 5!:4 <'g' -- [: