delorie.com/archives/browse.cgi   search  
Mail Archives: opendos/1997/02/15/13:14:10

Date: Sat, 15 Feb 1997 11:48:34 -0600 (CST)
From: "Colin W. Glenn" <cwg01 AT gnofn DOT org>
To: "'OpenDOS newsgroup'" <opendos AT mail DOT tacoma DOT net>
Subject: Re: [opendos] [OpenDOS] Wishlist part 2
In-Reply-To: <Pine.LNX.3.95.970215082041.1839A-100000@capslock.com>
Message-ID: <Pine.GSO.3.95.970215114634.25092A-100000@sparkie.gnofn.org>
MIME-Version: 1.0
Sender: owner-opendos AT mail DOT tacoma DOT net

On Sat, 15 Feb 1997 mharris AT blackwidow DOT saultc DOT on DOT ca wrote:
> On Sat, 15 Feb 1997, Killion wrote:
> 
> > > > While we're in that ballpark, I'd like to see SET supported by IF.
> > I'm looking for something like this:
> > IF _CONDITION_ == _TRUE_ THEN SET _ENV_VAR_=_VALUE_
> 
> In other words, you want IF to allow different conditions to be
> tested for instead of the dumb behavior it has now?

You could always code it in reverse:

IF NOT _CONDITION_ == _TRUE_ GOTO CONDFALSE
SET _ENV_VAR_=_VALUE_
:CONDFALSE

<! PrePared HTML!  Just export as a HTML file and Click!>
A Christian Web Site!  The Light 
<a href="http://www.thelight.org/">.</a><br>
A neat place to visit. HotSpot 
<a href="http://www.hspro.com/hotspot/">.</a><br>
Caldera, Inc. / Makers of OpenDOS
<a href="http://www.caldera.com/">.</a><br>
Caldera's OpenDOS page
<a href="http://www.caldera.com/dos/dos.htm">.</a><br>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019