>,:!.'0'L:0/'11';'111'  
110
111

Notice: 

   $>,:!.'0'L:0/'11';'111'  
2 3

   $,:!.'0'S:0/'11';'111'  
1 2 3

This question was posed many times before.


R.E. Boss


> -----Oorspronkelijk bericht-----
> Van: programming-boun...@forums.jsoftware.com 
> [mailto:programming-boun...@forums.jsoftware.com] Namens Bo Jacoby
> Verzonden: woensdag 5 december 2012 11:26
> Aan: programm...@jsoftware.com
> Onderwerp: [Jprogramming] Open, padding with zeroes
> 
> Dear J'ers
> 
> The Fit conjunction (!.) changes the default fill character like this
>    3 ({.!.'0') '11'
> 110
> but Fit gives domain error with Open:
>    >'11';'111'
> 11
> 111
>    (>!.'0')'11';'111'
> |domain error
> |   (    >!.'0')'11';'111'
> 
> I want this
> 110
> 111
> 
> What is the work-around?
> 
> The dictionary entry for Open says: 'Results of different shapes are padded 
> as defined in Section II B. ', but Section II B is not
about
> padding. Should it have been another section?
> 
> - Bo
> ----------------------------------------------------------------------
> 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