RE: shared memory

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

Either way, if Kat is against long elsif statements, it can be structured as

procedure proc_a()
   --stuff
end procedure

procedure proc_b()
   --stuff
end procedure

procedure proc_c()
   --stuff
end procedure

if (a) then
   proc_a()
elsif (b)
   proc_b()
else
   proc_c()
end if

:P

The only time I ever missed goto statements was when I first switched from 
basic to euphoria.... and that was only becuase I didn't know there was such 
thing as an elsif statement.
=====================================================
.______<-------------------\__
/ _____<--------------------__|===
||_    <-------------------/
\__| Mr Trick

>From: sephiroth _ <euman2376 at yahoo.com>
>Reply-To: EUforum at topica.com
>To: EUforum <EUforum at topica.com>
>Subject: RE: shared memory
>Date: Thu, 25 Jul 2002 13:05:21 +0000
>
>
>Ray Smith wrote:
> > Hi Kat,
> >
> > Just on your coding style (and since you pet Eu enhancement is goto!),
> > wouldn't the following be more readable and "possibly" better
> > structureed?  (ie. without goto)
>
>*snip*
>
>i don't think you can include files inside anything. that's why we have
>dynincl.e
>
>
>
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu