Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Ric Sherlock
Hi Alex, Not sure if you're aware of the trig script available as part of the 'math/misc' addon, but it may contain at least some definitions you'd like to use. If you have the addon installed then you can load the definitions using: require 'trig' If you restrict yourself to writing explicit J

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Alex Giannakopoulos
Thanks Ric I wasn't thinking of myself so much, I've got used to the J convention now, but more of what would make a good default startup for a newcomer. I will look at the script though, always nice to see how others do it. As for the capped fork, yes I can live without it, just about, but I ce

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Ric Sherlock
You can alter the display like you could in j602 by setting the noun DisplayForm in the base.cfg file. You can access it from the jgtk menu using Edit|Configure|Base As others have described in this thread, beginners come in many different shapes & sizes which makes it pretty hard to come up with

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Ian Clark
Bravo, Alex. These are the right questions you're asking. And -- yes -- I too liked Bo's suggestion. A "training wheels" form of J, tailored to people who know BASIC, would be so easy to write. Plus its accompanying textbook (essential to write, if not to read). But it really would need testing on

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Bo Jacoby
Alex, What I had in mind is even more elementary, such as using J for explaining addition and multiplication of  nonnegative integers like this.    1 NB. this is a one 1    14#1 NB. this is a list of fourteen ones 1 1 1 1 1 1 1 1 1 1 1 1 1 1    9#2 NB. this is a list of nine twos 2 2 2 2 2 2 2 2

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Raul Miller
I think "training wheels" versions of J should just be J, with documentation tailored to the interests of the audience. For example, if you want a language like basic, you can easily add line numbers to a program. example=: verb define [1] 'this is line one' [2] 'this is line two' [3] 'this is li

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Alex Giannakopoulos
I am not sure Ian really meant BASIC when he said "people who know BASIC". Perhaps the gist of what he meant was "people who want to do basic programming". No-one really uses old-style BASIC today, regardless of what marketing blurbs may say. I have *never* seen anyone recommend it to people who

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Alex Giannakopoulos
Thanks Ric, I'd been looking all over the config files, but somehow I missed it. The Tree view is great too (was it really there in 602??) A fantastic feature, this too should have pride of place in any J intro blurb. Man, 701 seriously undersells itself! On 1 December 2012 12:24, Ric Sherlock

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread Alex Giannakopoulos
Would be amazing, and really useful for educational purposes too, if we could change between modes on the fly. On 2 December 2012 06:00, Alex Giannakopoulos wrote: > Thanks Ric, > > I'd been looking all over the config files, but somehow I missed it. > The Tree view is great too (was it really th

Re: [Jprogramming] @: and capped fork

2012-12-01 Thread bob therriault
Hi Alex, Oleg, Ric, Bill, Brian, Don and I collaborated on this script 3 years ago. If it is of use to you feel free to use it. It runs on J602 and uses radio buttons to select the viewing style on a wd form. It was never picked up since it is generally quicker to just change the display as you