Arexx (2/109)

From:Mike Cardwell
Date:15 Aug 99 at 12:40:20
Subject:Loop Until Online

From: Mike Cardwell <mickeyc@ukonline.co.uk>

Hello All,

Forgive me if there is an easy solution to my problem. I am _very_ new at
Arexx programming. All I need, is for an arexx script to wait until I go
online. Completely independent of any other program. I'm currently using
this:

DO UNTIL online=-1
online=-1
IF ~OPEN("test","TCP:SMTP/25","RW") THEN DO
online=0
ADDRESS COMMAND "Wait 5"
END
END

I know that there is probably a much shorter way of doing this. My main
problem with it however is that a requestor asking for TCP: pops up every 5
seconds when I don't have my TCP stack loaded.

Don't worry. I'm going to download an Arexx guide in a minute. I will get
better. ;)

Regards,
Mike Cardwell.



Origin: Grimsby / England
mickeyc@ukonline.co.uk

--------------------------- ONElist Sponsor ----------------------------

GET WHAT YOU DESERVE! A NextCard Platinum VISA: DOUBLE Rewards points,
NO annual fee & rates as low as 9.9 percent FIXED APR.
Apply online today! http://www.onelist.com/ad/nextcard1

------------------------------------------------------------------------
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com