Page 1 of 1

JadeCompiler methods

Posted: Fri Aug 07, 2009 2:33 pm
by ConvertFromOldNGs
by Chris Power >> Sat, 21 Apr 2001 0:18:31 GMT

I need some assistance using the awsome JadeCompiler method, execute(). It's of great potential use in the ObjectBrowser (jade_feature_discussion posting 28 July 2001), in Jade Server Pages and other places limited only by the imagination. Its signature is

execute(sourceCode : String; receiver : Any; schema : Schema; notifObject : Object; errorCode, errorPos, errorLen : Integer output) : Any;

Q1: Does anyone have access to documentation on it?

Q2: Can it be used to execute methods in another schema? I can successfully execute methods in the current schema, but get a null reference exception when trying to execute methods in another schema.

Q3: What is the notifObject parameter for? I pass null, but I'd like to know more.

Q4: What is the return value? I seem to get null in all cases.


--

Chris Power
Email crpower@ihug.co.nz
Phone 64 (9) 818 1281