RE: shared memory

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

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)

 if platform() = linux then 
   include file1.something 
   -- do other things

 elsif platform() = windoze then
    include file2LFN.e 
   --set it up

 elsif platform() = dos then
    include file3.umm 
   -- do whatever
 end if


I'm not stirring the pot!!! Just wondering why you use goto when a 
what I think is a better method doesn't use goto.

Regards,

Ray Smith
http://rays-web.com


Kat wrote:

> if ( platform() = linux ) then 
>   include file1.something 
>   -- do other things
>   goto eoconditionalincludes
> end if
> 
> if ( platform() = windoze ) then 
>    include file2LFN.e 
>   --set it up
>   goto eoconditionalincludes
> end if
> 
> if ( platform() = dos ) then include file3.umm end if
> :eoconditionalincludes:

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

Search



Quick Links

User menu

Not signed in.

Misc Menu