RE: shared memory
- Posted by Kat <gertie at PELL.NET> Jul 25, 2002
- 393 views
On 24 Jul 2002, at 23:08, 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) > > 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 And what if each elsif block had 100 lines of code, and you had to manually indent or otherwise tag each block, just so you could FIND the blocks? Elsif is converted to jmp commands in the machine code, which is a goto. Kat