For Programmers: Free Programming Magazines  


Home > Archive > APL > June 2006 > Re: FMT usage question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: FMT usage question
kevin@modelfitness.com

2006-06-29, 6:56 pm

Hi, Paul...

COLNAMES is especially useful if you have a somewhat complicated format
string being used with []FMT. You don't have to personally analyze the
spacing to use with {take}{each} as in:

'format string' COLNAMES '/Product/Monday/Tuesday/Wednesday/TOTAL'

Kevin

RAV wrote:
> kitt wrote:
>
> I'm not sure why you want to use #FMT to format column headings. Are
> you formatting for a fixed-size font display, such as Courier? If you
> know the size of each column you want, you could do something like this:
>
> {enlist}5 10 3 4 12{take}{each}'ABC' 'DEF' 'GHI' 'JKL' 'MNOP'
>
> Otherwise, if you're already starting with a nested matrix and simply
> want the column headings on top of the matrix data, simply:
>
> 'ABC' 'DEF' 'GHI' 'JKL' 'MNOP'{commabar}matrix
>
> .
>
> --
> Posted via a free Usenet account from http://www.teranews.com


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com