CompuServe Thread

More Arexx Problems

3 messages in this thread
#30923From: George D. BrownAug 3, 1991 2:47 PM
Since I got such great help on my first problem with ARexx, I thought I'd throw this one at you. I am getting an Error 13 – Host environment not found when the program get to ONSTRING. Here are the program statement up to that point: options results test = show(Libraries, "rexxsupport.library") if test ~= 1 then addlib('rexxsupport.library',0,-30,0) address command "run work:backtalk/backtalk" waitforport BT_REXX address BT_REXX openport('BT_REXX') ONSTRING "CONNECT" ONSTRING1 "BUSY" The program crashes as soon as it gets to ONSTRING "CONNECT" with Error 13. George (Thank goodness for CIS and the Amigaforums)
#30935From: Steve AhlstromAug 3, 1991 3:49 PM
George, You're confusing some things here. BT_REXX is the name of an ARexx port that BackTalk sets up so that ARexx can communicate to BackTalk. BackTalk sets up a message port (called "BT_msg") so BackTalk can communicate to ARexx. These 2 ports are not the same. See the provided example script ASEND.BT for the usage of "BT_msg".
#30984From: George D. BrownAug 4, 1991 8:05 AM
Steve, thanks I definitely did not understand that BT_REXX and "BT_msg" were different ports. George