Re: [Oorexx-devel] Calling programs that are passed in a buffer?

2009-05-11 Thread Rick McGuire
There is no CallProgramFromData(), but you can use NewRoutine() to
create a routine object and call thatwhich is essentially the
equivalent.

Rick

On Mon, May 11, 2009 at 12:10 PM, Rony G. Flatscher
 wrote:
> To execute a program with an interpreter instance, one can get a thread
> context and then use "->CallProgram(name, array)", which expects the
> program to be stored in a file named "name", supplying it with the
> arguments in "array".
>
> However, if Rexx scripts are passed via a buffer (e.g. retrieved from
> storage locations like documents or databases) for execution with
> arguments, how could one have that program executed?
>
> Looking for something like "CallProgramFromData(name, data, sz, array)"
> (a Call counterpart to LoadPackageFromData(name,data,sz)).
>
> ---rony
>
>
>
> --
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> ___
> Oorexx-devel mailing list
> Oorexx-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


[Oorexx-devel] Calling programs that are passed in a buffer?

2009-05-11 Thread Rony G. Flatscher
To execute a program with an interpreter instance, one can get a thread
context and then use "->CallProgram(name, array)", which expects the
program to be stored in a file named "name", supplying it with the
arguments in "array".

However, if Rexx scripts are passed via a buffer (e.g. retrieved from
storage locations like documents or databases) for execution with
arguments, how could one have that program executed?

Looking for something like "CallProgramFromData(name, data, sz, array)"
(a Call counterpart to LoadPackageFromData(name,data,sz)).

---rony



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel