I use hard-TAB extensively to format my code: a habit I'm trying to kick…
How do I alter the width of the whitespace resulting from TAB in jqt? It
seems to be different in j807 and j806 (or else there's a setting I'm
missing). And it's not a whole number of spaces in either, but that's a
side-issu
menu Edit|Configure|Qt Ide, set TabWidth.
The Format in the base config is for formatting the code, see the
Script|Format menu.
On Mon, Aug 13, 2018 at 6:07 AM Ian Clark wrote:
> I use hard-TAB extensively to format my code: a habit I'm trying to kick…
>
> How do I alter the width of the whites
That is a good question because, depending on the shape of its argument,
the product of the determinant u .v might be independent on how v is
defined or even if v is defined ( ( .v) alone is an adverb if v is a verb),
require
3 : 0
fls=. Loaded_j_ -.~ getscripts_j_ y
if. # fls do. load fls els
Hello,
for some weeks, I am learning J in my (very little) spare time. And I have a
(beginner) question.
After reading a lot (first place: „Learning J“) and doing some exercises, I am
developing a small Monte Carlo simulation.
I have a dyadic verb „play“ which does a simulation step (calling r
Thank you, Jose. That's exactly what puzzles me. I didn't define b. I
was expected some error from J.
If b isn't defined, how can J determine what part of speech b is in to
execute the sentence? (I thought how verbs got executed depends on it.)
thanks.
b
|value error: b
;: '|. .b _1'
┌──┬─
Undefined names, in J, are parsed as verbs.
This is because of the general case demands of recursive code. Also,
nothing else really needs forward references to currently undefined names.
Thanks,
—
Raul
On Monday, August 13, 2018, More Rice wrote:
> Thank you, Jose. That's exactly what puzzl
It's a little complicated because the parsing of j treats undefined
characters as sort of unknowns until the data values for the expression are
used. When b is first mentioned j doesn't know if it is a noun or verb or
... .
The foreign 4!: can be used to determined the type of a defined term as
sho
I think something like your last one is the most J-like. One problem with
replicating the argument would be that a very large number of simulations,
say 100s of millions or more, would introduce unnecessary memory overhead.
However, in cases where I've done this sort of thing, I've just broken the
I think that that kind of structure is perfect for simulation code.
If you are using a ‘random number generator’ or similar, it’s good to
convey to the reader that something unusual is going on — it’s not really
function calls.
This works perfectly for that.
Thanks,
—
Raul
On Monday, August 1
Unassigned names are treated as verbs; see the text near the bottom of the
page,
E. Parsing and Execution
http://www.jsoftware.com/help/dictionary/dicte.htm
However, it is also puzzling because of the call-by-need strategy. In
particular, the model given in the DoJ for the determinant,
DET=:
Thanks, Chris.
On Mon, Aug 13, 2018 at 2:34 PM, chris burke wrote:
> menu Edit|Configure|Qt Ide, set TabWidth.
>
> The Format in the base config is for formatting the code, see the
> Script|Format menu.
>
> On Mon, Aug 13, 2018 at 6:07 AM Ian Clark wrote:
>
> > I use hard-TAB extensively to for
Thank you, Raul, Jose and Brian.
trace.ijs is a great learning tool I missed from that page. Thank you for
point me back to it.
JforC’s has an expanded section on parsing. That’s good read too.
Thank you all.
Maurice
On Mon, Aug 13, 2018 at 6:22 PM Jose Mario Quintana <
jose.mario.quin
Attempting to solve the following Quora problem:
What number must be subtracted from 21, 38, 55, and 106 each so that the
remainders (technically differences) are proportional?
Subtract the integers 0-9 from all four integers in the problem. Then find
the prime factors of each set of four integer
13 matches
Mail list logo