[futurebasic] Re: Fear and Loathing Guide

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1997 : Group Archive : Group : All Groups

From: Rick Brown <rbrown@...>
Date: Sat, 06 Dec 1997 14:02:24 -0600
David Blache wrote:
> 
> Rick Brown wrote:
> 
> >For cases like that it seems that it'd be mighty handy at
> >least to have the _option_ to group classes together in the same file.
> >I know Java keeps them in separate files, but who says we can't improve
> >on Java?
> 
> You do have the option:
> 
> BEGIN CLASS "cObject",""
>    DIM something
> END CLASS
> 
> PROPERTY something = something
> 
> METHOD Draw
> END METHOD
> 
> BEGIN CLASS "cWindow","cObject"
>    DIM anotherThing
> END CLASS
> 
> PROPERTY anotherThing = anotherThing
> 
> etc...

That is good to know, but now we're back to the counter-intuitive
syntax.  That is, methods are a part of the class described _above_
them, even though they appear _after_ the END CLASS statement.  This
means we'll just have to remember that END CLASS doesn't really _mean_
END CLASS.

- Rick