Hi Xtian,
thanks. Should work now (SVN 592).
/// Jürgen
On 04/01/2015 02:52 AM, Christian
Robert wrote:
var←'kelvin' (,'v') 'some text'
D var
┌3───────────────────────┐
│┌6─────┐ ┌→┐ ┌9────────┐│
││kelvin│ │v│ │some text││
│└──────┘ └─┘ └─────────┘│
└∊───────────────────────┘
2 ⎕tf 'var'
var←'kelvin' 'v' 'some text'
⍎2 ⎕tf 'var'
D var
┌3─────────────────────┐
│┌6─────┐ v ┌9────────┐│
││kelvin│ │some text││
│└──────┘ └─────────┘│
└∊─────────────────────┘
⍝ Length 1 vectors ( here (,'v') ) have been converted to
scalar 'v'
var←'kelvin' (,'v') (0⍴'') (⍳0) 'some text'
D var
┌5───────────────────────────────┐
│┌6─────┐ ┌→┐ ┌⊖┐ ┌⊖┐ ┌9────────┐│
││kelvin│ │v│ │ │ │0│ │some text││
│└──────┘ └─┘ └─┘ └─┘ └─────────┘│
└∊───────────────────────────────┘
⍎2 ⎕tf 'var'
D var
┌5─────────────────────────────┐
│┌6─────┐ v ┌⊖┐ ┌⊖┐ ┌9────────┐│
││kelvin│ │ │ │0│ │some text││
│└──────┘ └─┘ └─┘ └─────────┘│
└∊─────────────────────────────┘
⍝ in fact only Length 1 vectors are affected, length 0 are
OK.
ps; copy&paste had problem here because of the horizontal
pixel width of '⊖' in windows
Xtian.
|