Alex, Here is direct link to the JServer class code. C# Project and source. Maybe you can get it this way.
http://cid-f964330e36001519.skydrive.live.com/self.aspx/Public/cs/JServer10may27.zip Cheers On Mon, Jul 12, 2010 at 9:09 AM, Alex Rufon <[email protected]>wrote: > Arrrgghhh ... the office blocked the whole wordpress.com domain. :( > > I'm am personally looking forward to the release of J7. A lot of changes > particularly with the cross programming language interfaces. > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of John Baker > Sent: Monday, July 12, 2010 8:27 PM > To: Programming forum > Subject: Re: [Jprogramming] Getting J to work with .NET > > I briefly looked over this thread. Here is another reference to calling J > from C#. This class was written recently using j 6.02 and C# Express 2008. > Full links to all source code is embedded in the text. > > http://bakerjd99.wordpress.com/2010/05/28/a-c-net-class-for-calling-j/ > > Cheers John Baker > > On Sun, Jul 11, 2010 at 11:16 PM, Alex Rufon <[email protected] > >wrote: > > > I think Bill is right. > > > > If you would look closely at both tutorials, the initialize() private > > function loads a "compiled" script of the standard library and a lot > > of other definitions. If you skip this part, a value error would occur > > because "verb" and "defined" are not defined. ;) > > > > > > -----Original Message----- > > From: [email protected] [mailto: > > [email protected]] On Behalf Of bill lam > > Sent: Monday, July 12, 2010 8:29 AM > > To: [email protected] > > Subject: Re: [Jprogramming] Getting J to work with .NET > > > > Did verb and define actually defined in your profile (if any)? > > > > what if replacing that line by > > centigrade =: 3 : 0 > > > > Пнд, 12 Июл 2010, Mark Needham писал(а): > > > It's working for me with some statements in the ijs file but not > > > when I define a verb for some reason: > > > > > > ijs file > > > > > > result =: 2 + 2 > > > > > > square =: *: > > > > > > centigrade =: verb define > > > t1 =. y - 32 > > > t2 =. t1 * 5 > > > t3 =. t2 % 9 > > > ) > > > > > > Then I've got this code: > > > > > > var cSharpSession = new CSharpSession(); > > > > > > > > > > cSharpSession.Load("C:/Playbox/JForTheWin/WillJWork/bin/Debug/script.i > > js"); > > > cSharpSession.Eval("mark =: centigrade 5"); > > > var csharpResult = cSharpSession.Variable("mark"); > > > Console.Write(csharpResult); > > > > > > where CSharpSession is the one from the other tutorial. > > > > > > It blows up on trying to load the script with a 'value error' but it > > > seems to me that the definition is correct? Is there something else > > > I > > need to do? > > > > > > Cheers, Mark > > > > > > > > > On 9 July 2010 14:12, Alex Rufon <[email protected]> wrote: > > > > > > [---=| TOFU protection by t-prot: 120 lines snipped |=---] > > > > -- > > regards, > > ==================================================== > > GPG key 1024D/4434BAB3 2008-08-24 > > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > -- > John D. Baker > [email protected] > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- John D. Baker [email protected] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
