[aplusdev] line numbers?

John.Mizel at MorganStanley.com John.Mizel at MorganStanley.com
Wed Feb 6 14:19:45 EST 2002


Sasha.

An A+ way to do this is to execute the function name, capture the results, 
and append your own line numbers to the array.  To write out the results 
see the Pipe out command.

Thanks,
John


On Wed, 6 Feb 2002 John.Mizel at MorganStanley.com wrote:

> Sasha.
> 
> Why don't you just use cat with either the "-b" or "-n" option.  Of course
> this will number the lines of the file vs. each function, so it might not
> be exactly what you want.
> 
> Thanks,
> John
> 
> 
> On Wed, 6 Feb 2002, Alexander Skomorokhov wrote:
> 
> > Hi,
> > 
> > I'm writing a paper (for APL2002 conference) on using A+ for...
> > And I'd like to comment in brief some A+ functions. Normally (with
> > other APLs) I listed a function with line numbers. And referred to 
> > some of them as "see lines [n-m]". What is the convenient way to refer
> > to a piece of A+ function? May it be printed with line numbers?
> > 
> > Thanks,
> > Sasha.
> > 
> 
> 

-- 
 




More information about the apluslist mailing list