On Tue, Feb 2, 2010 at 3:19 PM, Philip A. Viton <[email protected]> wrote:
> Sorry: typo. sprintf is contained within package printf (So 'load
> printf' makes it available).
I get the appropriate carriage return linefeed sequences
when I use your sprintf example.
How are you sending it to your printer?
Here was the beginnings of my first attempt:
('\nTest\n%j\naAnother test\n%j\n' sprintf (<"0 i. 2 3) ; < <"0 i. 4 5)
1!:2 <'c:\tmpfile.txt'
|rank error
Is it possible that sprintf was working just fine
but the problem was in the handling of rank
in your print process?
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm