Yes, when you open a script window with a script,
press Ctrl+L. It uses pp.ijs.


--- Brian Schott <[EMAIL PROTECTED]> wrote:

>       system/extras/util/pp.ijs proports to pretty print.
> I have been unsuccessful at getting an example to work. The
> errors I get seem to be related to the verb jpath (which is
> not used in pp.ijs, but I got past one error by editting the
> script to use jpath, only to hang up on a line within jpath
> that contains the phrase "jpathname nam").
> 
>       The script pp.ijs loads into locale jpp and
> contains the verb pp, so I tried executing the following
> commands.
> 
>    cocurrent'jpp'
>    pp '~system/main/stdlib.ijs'
> |domain error: ucp
> |   dat=.    ucp y
> 
>       Looking at the pp.ijs script I determined that he
> 'y' above is supposed to be the result of
> 
> freads       '~system/main/stdlib.ijs'     NB. original
> 
> so I inserted jpath into that sentence as follows.
> 
> freads jpath '~system/main/stdlib.ijs'     NB. revised
> 
>       But then I got an error in the verb jpath itself at
> the instruction "jpathname nam", so I decided to ask here in
> the forum if anyone has been successful in using pp.ijs
> 
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
> 



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to