Hi,
I'm trying to execute an ARexx script that is part of my C program (the script is in a C character array). I'm using arexx.class.
Executing the script from an external file ("test.rexx") works fine:
IIntuition->IDoMethod ( oArexx, AM_EXECUTE, "test.rexx", NULL, NULL, NULL, NULL, NULL );
I can also execute a single ARexx command by quoting it
IIntuition->IDoMethod ( oArexx, AM_EXECUTE, "\"say 'Hello there!'\"", NULL, NULL, NULL, NULL, NULL );
but not a long multi-line script with subroutines. Can it be done using the arexx.class?