To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.funOpen lugnet.off-topic.fun in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Fun / 5524
    Re: Encoding? (was Re: This isn't good enough! —Jeremy H. Sproat
   (...) 10 PRINT "GOTO'S SUCK!" 20 GOTO 10 30 REM :-D Cheers, - jsproat (24 years ago, 11-Jul-00, to lugnet.off-topic.fun)
   
        Re: Encoding? (was Re: This isn't good enough! —Matthew Miller
     (...) 10 PRINT "HEY, THAT APOSTROPHE ISN'T SUPPOSED TO BE THERE!" 20 GOTO 10 30 REM :-) (24 years ago, 11-Jul-00, to lugnet.off-topic.fun)
   
        Re: Encoding? (was Re: This isn't good enough! —David Goeb
     (...) 10 REM Why GOTO is a bad idea 11 REM you find code like this... 30 FOR N = 1 TO 3 40 GOTO 100*N 50 NEXT N 55 END 60 REM Oh, so smart he cut himself 100 ? "One" 110 GOTO 50 200 ? "TWO" 210 GOTO 50 300 ? "Three" 310 GOTO 50 999 REM Best DaveG (24 years ago, 12-Jul-00, to lugnet.off-topic.fun)
    
         Re: Encoding? (was Re: This isn't good enough! —Steve Bliss
     (...) Yikes! That's not the JMP that's bad, it's the target calculation! That's what ON <expr> GOTO <label>, <label>, ... was created for! Steve (24 years ago, 13-Jul-00, to lugnet.off-topic.fun)
    
         Re: Encoding? (was Re: This isn't good enough! —David Goeb
     (...) [snip] (...) It's not what it was created for It's WHY it was created. Yes to make a bad practice part of the language, ROTFHMGUATI*. But more to the point adding ON to the debate is hardly going to advance GOTO's position as most hated (...) (24 years ago, 13-Jul-00, to lugnet.off-topic.fun)
   
        Re: Encoding? (was Re: This isn't good enough! —Steve Bliss
   (...) Is GOTO alright if it's spelled HREF? Steve (24 years ago, 13-Jul-00, to lugnet.off-topic.fun)
   
        Re: Encoding? (was Re: This isn't good enough! —Jeremy H. Sproat
   (...) Isn't an HREF more like a GOSUB? There's a call (okay, return) stack, and you can ride it all the way back to the first page. And GOSUBs are okay. I give them my Official Stamp of Approval. :-, Or you could take the pont of view that a HREF is (...) (24 years ago, 13-Jul-00, to lugnet.off-topic.fun)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR