Damien wrote:
> By wrong data, I mean a cell with nothing inside - an empty 
> cell - or a cell with a string instead of a numeric.

bill lam wrote:
> Still cannot understand your problem, could you give an 
> actual example for discussion?

He means he has homogenous numeric data and wants to pass it unboxed to J.  
That is, since all the boxes contain numbers he wants
to avoid the uneccesary step of unboxing the array.  

Damien:  I believe the short answer is no -- for the sake of simplicity 
(covering all possible cases with just one rule), all
non-scalars passed through COM are boxed (i.e. variants).

I have a COM question of my own (or, rather, by proxy):  Can someone show a 
working example of using GetM and SetM  in VB?  Here's
an example (due to Jim Korn) using GetB and SetB:  

        Sub JSub
        
               Dim j
        
               Set j = CreateObject("JEXEServer")
             
               Dim xx
             
               xx=9
             
               j.SetB "dd", xx
          
               j.Do("hw =: dd")
          
               Dim ss
        
               j.GetB "hw",ss
          
               MsgBox ss
        
        End Sub
        

Can someone convert it to using GetM and SetM (syntatically and semantically 
correct so that it compiles, runs, and demonstrates
the use of the functions)?

-Dan

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

Reply via email to