J Http Server
Updating server catalog...
   f=: 3 : 0
​if. y do. goto_true. else. goto_false. end.
​label_true.  'true'  return.
​label_false. 'false' return.
​)
   f 0
false
   f 6
true
   f i.0
true
   f 1
true

Using sp (simple project) you can goto and execute individual lines

Simple ProjectNoun sphelp has information on Simple Project utilities.

Using JHS locally, you might prefer desktop tools rather than the apps
provided by JHS. For example, your desktop editor (notepad, gedit,
emacs,..), OS file mangager (windows explorer, finder, ...), and grep might
be better than JHS jijs, jfile, and jfif.

SP utilities make it easier to use your desktop tools.

   sphelp
spoverview has additional info

fr - filename or shortname from spr/spd/spg

 spinit fr    set project and load (carried over sessions)
 ctrl+,       load project file
 sp''         load project file
 sp fr        load file
 spr''        list recent files (carried over sessions)
 spf fr       filename
 spd folder   *.ijs in folder

 speinit win;unix set editors (carried over sessions)
 speinit '"C:\Program Files (x86)\gedit\bin\gedit.exe"';'gedit'
 spe fr       edit file
 spe''        edit project file

 spg'pattern'[;'folder']
 spg''        last pattern and last folder
 spg'abcd'    abcd pattern and last folder
 spgf fr      pattern lines in file

 spxinit fr   set script for managed execution
 ctrl+.       advance
 spx''        advance
 spx 0        status
 spx n        run line n
 spx n m      run lines n through m

 sptable      no boxdraw - e.g., sptable 1!:0<'*'


2012/5/15 <rhb...@asis.com>

> Hello:
>
> I saw your address, on a 'J' support page. If you don't mind answering.
>
> I did APL as a kid. But, I can't find line numbers,
>
> or commands like 'goto 10', in 'J'. I don't see how to save a program.
>
> Do you use this, in 'J'?
>
> Many thanx, Bob Baker.
>
>
>
>
> Quoting bill lam <bbill....@gmail.com>:
>
> > It depends on what you meant by 'typical'.  There are already some
> > gtk examples under addons/gtk , addons/plot and addons/opengl.
> >
> > Птн, 11 Май 2012, Andrew Nikitin писал(а):
> >>
> >> Where I can find example of typical J GTK based gui application?
> >> Like "cities" or "controls" from old wd demos?
> >>
> >> The demos in GTK demo wd stuff and labs do not mention GTK at all.
> >> I may have been looking in the wrong places.
> >>
> >>
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >
> > --
> > regards,
> > ====================================================
> > GPG key 1024D/4434BAB3 2008-08-24
> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: gos...@gmail.com
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to