Thanks, bill. I just figured that out before seeing your mail.

On Thu, 7 Nov 2019, 12:31 bill lam, <bbill....@gmail.com> wrote:

> the last line
> wd 'activity ', >coname''
>
> starts a new android activity with current locale. android system will call
> onStart of the locale and which eventually run wd'pc ...'
>
> Users can't call wd'pc ...' directly to create a new form.
>
> On Thu, Nov 7, 2019 at 1:49 PM Arnab Chakraborty <damd...@gmail.com>
> wrote:
> >
> > I now have a better understanding of locales, and can poke around more
> > successfully. But wd in jandroid still illudes me. following Bill's
> > suggestion, I am looking inside the demo sources.
> > The file ~addons/ide/ja/demo/progressbar.ijs looked conveniently short.
> So
> > I started with it. When I just load the file in jandroid, I indeed see a
> > progressbar. I expected the code to contain lines like
> >
> > pc 'a demo'
> > cc prog blah blah
> > wd 'pshow'
> >
> > But instead, I found this: my cooments in red.
> >
> > NB. progressbar demo
> > NB.
> > NB. cc prog progressbar [style] [max] [value];
> > NB.
> > NB. style : horizontal inverse large large_inverse small small_inverse
> > NB.    style must be horizontal to show progress status
> > NB.
> > NB. max,value should be integers
> >
> > coclass 'demoprogressbar'
> >
> > onStart=: pbdemo_runNB. This looks like an entry point. Who calls this
> > function? If I call from a J session (after appropriate coinsert) I get
> > domain error for wd PBdemo. Looks like the entire code is supposed to be
> > called inside some special framework. Yet simply loading the file does
> work!
> >
> > NB. =========================================================
> > PBdemo=: 0 : 0
> > pc pbdemo closeok escclose;NB. Where is pbdemo defined?
> > wh _1 _2;cc prog progressbar horizontal 20 7;
> > )
> >
> > NB. =========================================================
> > pbdemo_run=: 3 : 0
> > wd PBdemo
> > wd 'pshow'
> > )
> >
> > NB. =========================================================
> > wd 'activity ', >coname''
> >
> >
> > On Tue, 5 Nov 2019, 18:48 Henry Rich, <henryhr...@gmail.com> wrote:
> >
> > > You need to learn about J Locales.
> > > https://code.jsoftware.com/wiki/Vocabulary/Locales
> > >
> > > DISSECT is defined in the locale dissect, so you would look at it with
> > >
> > >     DISSECT_dissect_
> > >
> > > dissect uses locales and paths extensively.
> > >
> > > Henry Rich
> > >
> > > On 11/5/2019 7:19 AM, Arnab Chakraborty wrote:
> > > > I got error in
> > > >
> > > > wd DISSECT
> > > >
> > > > In fact, there is nothing called DISSECT.
> > > > Produces value error if I type just DISSECT.
> > > >
> > > > But DISSECT is indeed defined in line 1160 of dissect.ijs, and then
> > > updated
> > > > in line 1230.
> > > >
> > > > How can this be?
> > > >
> > > > On Tue, 5 Nov 2019, 17:28 Arnab Chakraborty, <damd...@gmail.com>
> wrote:
> > > >
> > > >> Thanks, Henry.
> > > >>
> > > >> On Mon, 4 Nov 2019, 21:07 Henry Rich, <henryhr...@gmail.com> wrote:
> > > >>
> > > >>> It sounds like you might be planning to look into running dissect
> on
> > > >>> android.  I will support you as much as I can.  Let me know what
> you
> > > find.
> > > >>>
> > > >>> Henry Rich
> > > >>>
> > > >>> On 11/4/2019 8:29 AM, Arnab Chakraborty wrote:
> > > >>>> Thanks Bill. What will be a good reference for wd in jandroid?
> > > >>>>
> > > >>>> On Mon, 4 Nov 2019, 18:20 bill lam, <bbill....@gmail.com> wrote:
> > > >>>>
> > > >>>>> wd commands of jandroid are not 100% compatible with that of Qt.
> > > >>>>>
> > > >>>>> I guess while dissect can be ported to jandroid but it will take
> too
> > > >>> much
> > > >>>>> effort.
> > > >>>>>
> > > >>>>> On Mon, Nov 4, 2019, 8:15 PM Arnab Chakraborty <
> damd...@gmail.com>
> > > >>> wrote:
> > > >>>>>> Dear all,
> > > >>>>>>
> > > >>>>>>     why am I getting this?
> > > >>>>>>
> > > >>>>>>      require 'debug/dissect'
> > > >>>>>>      dissect '(i.4) + i.4'
> > > >>>>>> domain error
> > > >>>>>> |domain error: wd
> > > >>>>>> |       wd DISSECT
> > > >>>>>>
> > > >>>>>> Error during initial display
> > > >>>>>>
> > > >>>>>>
> > > >>>>>> My pacman tells me I have the latest dissect 4.6.39/4.6.39
> > > >>>>>>
> > > >>>>>>
> > > >>>>>> Thanks and regards
> > > >>>>>>
> > > ----------------------------------------------------------------------
> > > >>>>>> For information about J forums see
> > > >>> http://www.jsoftware.com/forums.htm
> > > >>>>>
> > > ----------------------------------------------------------------------
> > > >>>>> 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
> > >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to