ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] IF, THEN, ELSE....OR MAYBE NOT?
Kevin Trainor
Wed, 15 Nov 2000 08:39:13 -0600

Mark:

Is it really possible to code the ELSE on a line by itself?  Or, does it
have to be combined with the first statement to be executed in the block of
else statements?  For example, don't I really have to code it as:

if cond
then statement 1
then statement 2
else statement 3
then statement 4

rather than:

if cond
then statement 1
then statement 2
else
then statement 3
then statement 4

I know that this is a fine distinction.  But, perhaps it is what is giving
me problems.

Kevin

----- Original Message -----
From: "Mark Gilmore" <omnip@usit.net>
To: <ecs-list@netbloc.com>
Sent: Wednesday, November 15, 2000 8:01 AM
Subject: Re: [ECS] IF, THEN, ELSE....OR MAYBE NOT?


> if cond
> then
> then
> else
> then
> then
> ...
> --
> Mark Gilmore
> Omnipotence (ECS home automation software)
> http://omnipotencesoftware.com
> 423-745-0026
> Hours: Mon-Sat, 9AM-8PM/EST
>


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.