function Catalyst (OpenInsight Specific)
At 18 DEC 2000 09:58:29AM LB wrote:
I need a function in OpenInsight similar to Catalyst in Arev, expecificaly when it have like first param 'C'
Catalyst('C', … )
that exist?
At 18 DEC 2000 10:26AM Don Miller - C3 Inc. wrote:
LB ..
Don't think you will be able to implement a Catalyst C call in OI. This used to compile and execute source code passed in the parameter. I don't think that you can call the compiler and oengine this way. This was even problematical in AREV since there were some compiler functions that were not available that way either ($INSERT, etc.). Given the way memory is managed under windows, it doesn't look as though this would work.
Don Miller
C3 Inc.
At 18 DEC 2000 01:07PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Sprezzatura has a Catalyst function for OpenInsight
World Leaders in all things RevSoft
At 18 DEC 2000 03:21PM Don Miller - C3 Inc. wrote:
Yesiree you do..but he wants a "C" (compile & execute) call which I don't think you do have. However, slick job anyway!
HNY ..
Don Miller
C3 Inc.
At 18 DEC 2000 04:53PM Paul Rule wrote:
Theres more than one way to skin a proverbial.
A suggestion.
This is a method I use to do a similar thing.
Create a dummy program and compile it. Mainly to create the repository entries.
Now when you need to create the code and run it on the fly, just write the code to SYSPROCS DUMMY*account (don't forget the header subroutine dummy(x) etc
Then
call recompile_proc("DUMMY*":account)
error=get_status(errormsg)
set_status(0)
if error then call msg("","ERROR COMPILING ":errormsg)
Call DUMMY
At 19 DEC 2000 08:50AM Don Miller - C3 Inc. wrote:
Paul .. very nice indeed! Good thinking.
Don Miller
C3 Inc.