Arexx (89/92)

From:Rolf Max Rotvel
Date:1 Feb 2000 at 01:17:14
Subject:Re: Addrexx...

From: "Rolf Max Rotvel" <rolfr@worldonline.dk>

Hi Lorens Johansson. On Mon, 31 Jan 2000 21:24:24 +0100 you wrote:

> I was going through the script briefly and saw this line:
> if env? then do
> what does that do?

It's short for "if env? = 1 then do".

env? is a boolean variable (It's either 1 or 0). You can do the same trick
with Arexx functions that return a boolean. Eg:

If ~open('tmp', file, 'r') then do
say 'Error opening 'file
exit
end

Rolf



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

GET A NEXTCARD VISA, in 30 seconds. Get rates as low as 0.0 percent
Intro APR and no hidden fees. Apply NOW.
<a href=" http://clickme.onelist.com/ad/NextcardCreativeCL ">Click Here</a>

------------------------------------------------------------------------

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