Hi there,
I never paid much attention to ARexx, but while finishing and polishing the work for the Hollywood add-on for Cubic IDE in the last couple of days I recognized that ARexx is really nice.
First, I have a problem with the example that is given in the Hollywood guide for CreateRexxPort(): I just copied and pasted both source codes and when I run the programs, I get the following error: ARexx:
Code: Select all
+++ Error 13 in line 14: Host environment not found
Command return 10/13: Host environment not found
Code: Select all
Tablefield 1 was not initialized
File: arexxtest.hws (line: 12 - in function: p_eventfunc)
As I said, I changed nothing in the source code. So, is the example wrong?
Then I wonder if it is possible to send the value of an ARexx variable to Hollywood? I image the following (bases on the ARexx source code of the example:
Code: Select all
OPTIONS RESULTS
'QUERY WORD' /* command of Cubic IDE */
WORD = RESULT /* save the result to the var WORD */
ADDRESS MY_COOL_REXX_PORT_123
/* now send some commands from Rexx to Hollywood and watch the debug
output */
DummyFunc_1 WORD /* send the value of the var WORD to Hollywood */
Thanks a lot in advance, greetings Micha