I just noticed something strange in the display of symbols that include the tab 
character in their label. They are not consistently displayed depending on 
where they show up in a string of symbols. Is this something that will be 
cleaned up or is there a rule that will let me reliable predict how the symbols 
will display? Currently, the display of a symbol seems to depend on the 
preceding symbol in the string.

    JVERSION
Engine: j806/j64/darwin
Beta-1: commercial/2017-03-09T12:01:12
Library: 8.06.01
Qt IDE: 1.5.3/5.6.2
Platform: Darwin 64
Installer: J806 install
InstallPath: /users/bobtherriault/j64-806
Contact: www.jsoftware.com

NB. using unifont as fixed width font in the session, hoping that email does 
not mangle the spacing of the displays too much.

    a=. s: <67 9 67{a.
   b=.s: <68 68 68{ a.
   a,b NB. 'a' is displayed full width 
`C      C `DDD
   b,a
`DDD `C C
   a,a NB. second occurrence of 'a' is displayed shorter than the first
`C      C `C    C
   b,a,a NB. first occurrence of 'a' has tab as single space, second is 
shortened
`DDD `C C `C    C
    a,b,a,a NB. three different displays of the same symbol within one string 
of symbols, 
`C      C `DDD `C       C `C    C
  a =  a,b,a,a
1 0 1 1

The simple solution would be to treat all the special character as they are 
when the symbol array is boxed which is to have them just display as single 
spaces.

   <a,b
┌─────────┐
│`C C `DDD│
└─────────┘
   <b,a
┌─────────┐
│`DDD `C C│
└─────────┘
   <b,a,a
┌──────────────┐
│`DDD `C C `C C│
└──────────────┘
   <a,b,a,a
┌───────────────────┐
│`C C `DDD `C C `C C│
└───────────────────┘

  
Cheers, bob

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to