[futurebasic] Re: [FB] [X-FB] Long live % & ! # $ Go Larry! Go!

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2001 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Mon, 05 Feb 2001 01:24:28 +0100

Mark Lincoln wrote:

> on 2/3/01 10:03 PM, tedd at tedd@... wrote:
>
> >> I have sent my code to others, and they find LONG IF incomprehensible.
> >
> > I am sure that STAZ could get rid of the LONG IF's if everyone was
> > willing to accept:
> >
> > if (something)
> > {
> > <code>
> > }
> >
> > That way we could get rid of the END IF's as well.
> [snip]
>
> Why can't we just have multiline IF-THEN-ELSE-END IF statements?  Like so...
>
> IF HeatherIsBrian THEN
>    PRINT "I'm confused"
> ELSE
>    PRINT "I'm still confused"
> END IF
>

You can do the following with FB^3:

IF HeatherIsBrian THEN ¬
  PRINT "I'm confused" ¬
ELSE ¬
  PRINT "I'm still confused"

--

Cheers

Alain

-----------------------------------------------------
FB^3 in Europe:  http://euro.futurebasic.com/
FB II Pouch:     http://www.pixmix.com/FB/outils.html
-----------------------------------------------------