Re: The 'goto' debate

new topic     » goto parent     » topic index » view thread      » older message » newer message

On 6 Feb 2002, at 18:21, vern at lvp.eastlink.ca wrote:

> 
> I thought the goto statement in TP was for labels only with a specific
> block??  

I was questioning the COMEFROM , not the GOTO.

>What do I know, I'll GOTO sleep and mind my business now.

You can't just GOTO bed. First you haveto set up the flow control vars, and 
repeatedly test them in that big stacked if-elsif-endif mess in the life
function.

Be sure to verify isinside(cat), islocked(door), possess(me,bed), 
appropriate(me,time(sleep)), and the all important 
exists(house,{"roof","walls","floor"}) and not 
exists(bedroom,{harmful_animals_list,magma})) and not 
exists.*(bed,{garden,list.aircraft}).

Kat

> Vern
> 
> ----- Original Message -----
> From: "Kat" <gertie at PELL.NET>
> To: "EUforum" <EUforum at topica.com>
> Sent: Wednesday, February 06, 2002 4:21 PM
> Subject: RE: The 'goto' debate
> 
> 
> > On 6 Feb 2002, at 5:51, kennethroger at prodigy.net wrote:
> >
> > >
> > > EX can get by with a GOTO, but EXW will need a COMEFROM.
> >
> > A COMEFROM? You mean like to know how one got to that point in the
> > execution? Good idea, i was trying to hack Turbo Pascal to do that at one
> > point. But why not make that possible in both dos and windows, and *nix?
> >
> > Kat
> >
> >
> 
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu