CPCWiki forum

General Category => Off topic => Topic started by: Devilmarkus on 15:07, 22 December 12

Title: The never ending BASIC program
Post by: Devilmarkus on 15:07, 22 December 12
Idea: anyone who replies here, copies the already existing code, and adds one line.
We will check the results then, if the program is runnable.

I begin:
10 MODE 1

(The next who replies, copies my "10 MODE 1" and adds line 20 and so on...)

Let's see, what happens!
Title: Re: The never ending BASIC program
Post by: remax on 15:15, 22 December 12
10 MODE 1
20 CLS
Title: Re: The never ending BASIC program
Post by: Devilmarkus on 15:16, 22 December 12
Awwwww.... Come on, remax: CLS is not really needed after a MODE 1...  :laugh:
Title: Re: The never ending BASIC program
Post by: remax on 15:19, 22 December 12
We are never too cautious...
Title: Re: The never ending BASIC program
Post by: mr_lou on 15:57, 22 December 12

10 MODE 1
20 CLS
30 CALL 0


Title: Re: The never ending BASIC program
Post by: Devilmarkus on 16:06, 22 December 12
And the winner is mr_lou.
Program finished.
Title: Re: The never ending BASIC program
Post by: EgoTrip on 16:07, 22 December 12

10 MODE 1
20 CLS
25 POKE 0,&C9
30 CALL 0
Title: Re: The never ending BASIC program
Post by: mr_lou on 16:10, 22 December 12

10 MODE 1
20 CLS
25 POKE 0,&C9
29 POKE 0,1
30 CALL 0

Title: Re: The never ending BASIC program
Post by: EgoTrip on 16:12, 22 December 12
10 MODE 1
20 CLS
25 POKE 0,&C9
26 GOTO 30
29 POKE 0,1
30 CALL 0



Spoiler: ShowHide

RENUM 1,1


1 MODE 1
2 CLS
3 POKE 0,&C9
4 GOTO 6
5 POKE 0,1
6 CALL 0
Title: Re: The never ending BASIC program
Post by: mr_lou on 17:10, 22 December 12

10 MODE 1
20 CLS
25 POKE 0,&C9
26 GOTO 30
29 POKE 0,1
30 CALL 0
31 POKE 0,1:CALL 0

Title: Re: The never ending BASIC program
Post by: EgoTrip on 17:30, 22 December 12
While this is fun and all, and going around in circles, maybe a real attempt at this should be made on the programming forum.
Title: Re: The never ending BASIC program
Post by: db6128 on 19:51, 22 December 12
Proposed rules: No resetting or other tricks, no messing up code with POKEs, probably no MC at all since it does say "BASIC program", no adding lines between existing ones unless there's a very good reason... etc.?

Edit: Never mind; I found the new thread.
Title: Re: The never ending BASIC program
Post by: AMSDOS on 21:34, 22 December 12
1 mode 1:while 1:print"hello":wend
10 MODE 1
20 CLS
25 POKE 0,&C9
26 GOTO 30
29 POKE 0,1
30 CALL 0
31 POKE 0,1:CALL 0





^^ You did say Never Ending.  :D
Powered by SMFPacks Menu Editor Mod