[09 May 2010] ARexx question...

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[09 May 2010] ARexx question...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 09 May 2010 15:50:27 -0000

HI ALL! I cant found a way to check if a Rexx port was active or not... There's any way to do that? If I try to send a rexx command to an non existing port the hollywood script will exit...
Simone"Tuxedo"Monsignori, Perugia, ITALY.
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

[09 May 2010] Re: ARexx question...

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 09 May 2010 23:12:54 -0000

Try the following code:

Code: Select all

ARexxPort$="MYAREXXPORT"
Var=RunRexxScript("if show(ports,\'"..ARexxPort$.."\') then return 1", TRUE)
Var should be 1 if the port is open.
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[10 May 2010] Re: ARexx question...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 10 May 2010 21:48:36 +0200

Hi! Thank you! I will try it asap :)
Simone"Tuxedo"Monsignori, Perugia, ITALY.
Locked