Brian Schott 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

This is a utility script that supports the J session, hence its location
in system/extras/util.

Since you realise that jpath was needed, an obvious call would be:

   pp_jpp_ jpath '~system/main/stdlib.ijs'

i.e. pp takes a full filename.

Using debug to step through pp would also make this clear.

> 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

jpath is an essential system utility. If it does not work, you probably
broke something. Let me know if otherwise.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to