Subject:
|
Re: Encoding? (was Re: This isn't good enough!
|
Newsgroups:
|
lugnet.off-topic.fun
|
Date:
|
Wed, 12 Jul 2000 00:19:35 GMT
|
Viewed:
|
583 times
|
| |
| |
In lugnet.off-topic.fun, Jeremy H. Sproat writes:
> Jamie Obrien wrote:
> > <goto's get discriminated against way to often!>
>
> 10 PRINT "GOTO'S SUCK!"
> 20 GOTO 10
> 30 REM :-D
>
> Cheers,
> - jsproat
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
|
|
Message has 1 Reply:
Message is in Reply To:
48 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|