ts runs the string twice once for space and a second time to get the time.
Which of course, displays the script twice. ts2 runs the string only once.
The time is off a little as it includes the handling of space calculations.

   ts2=:3 : '6!:2''((2) 1!:2~ 7!:2) y'''

On Sat, Nov 5, 2011 at 9:08 AM, David Vaughan
<[email protected]>wrote:

> Yeah but what I'm looking for is for the script to be displayed - 0!:1,
> but also the time and space without having to run it twice.
>
> ts '0!:1<script'
> ...script...
> ...scriptagain...
> time and space
>
> is the output, and with 0!:100 it only gives time and space. I'm looking
> for:
>
> verb script
> ...script...
> time and space
>
> This is really just a convenience thing.
>
> On 5 Nov 2011, at 14:57, Brian Schott wrote:
>
> > Oops.
> >
> > ts '0!:100< script'
> >
> > On Sat, Nov 5, 2011 at 10:55 AM, Brian Schott <[email protected]>
> wrote:
> >> According to http://jsoftware.com/docs/help602/dictionary/dx000.htm I
> >> would try the following.
> >>
> >> ts '0!:101
> >>
> >> --
> >> (B=)
> >>
> >
> >
> >
> > --
> > (B=) <-----my sig
> > Brian Schott
> > ----------------------------------------------------------------------
> > 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