Dear J Forum:
 
I managed to overcome my earlier problem (below), but have a new one.  The
subroutine jsSigma takes Excel range Sigma, adds one to it, and returns it
to range Tau.  But I get Error code 3 from js.Do.  I get no error when doing
the simpler statement "Y =: X", or a statement like "Y =: 1 + i. 4 4 ".  Why
won't js.Do perform arithmetic on the X variable?  Thanks.
 
Sub jsSigma()
setjs
Dim r As Object
Set r = Range("Tau")
v = Range("Sigma").Value
ec = js.Set("X", v)
ec = js.Do("Y =: 1+X")
If ec Then MsgBox "Error code: " & Str(ec)
ec = js.Get("Y", w)
r.Value = w
End Sub
 
Sincerely,
Leigh
 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leigh J. Halliwell
Sent: Thursday, October 05, 2006 12:50 PM
To: 'Programming forum'
Subject: [Jprogramming] Client-Server Demo
 
Dear J Forum:
 
I've set up the JSRVDemo (J server to Excel client); but running the macros
gives me the Compile Error that JEXEServer and JDLLServer are not defined.
How do I define them?  Thanks.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to