Based on this topic: The never ending BASIC program (http://www.cpcwiki.eu/forum/off-topic/the-never-ending-basic-program/new/#new)
Maybe we should attempt a real, serious program that doesn't go around in circles finding ways to restart and avoid restarting the CPC.
Basically, copy the code adding a line to the existing program.
I'll start
10 MODE 0
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
Bryce.
This is actually a great idea, but how are you going to do anything with it? Programming is structured, and even using chained commands like Bryce did (yeah! my CPC just farted!) you can't do much, I suspect, unless you pre-reserve blocks of lines to jump to with a goto.
Still, curious to see what might come out of it :)
Quote from: Gryzor on 18:45, 22 December 12
Programming is structured...
You've obviously never seen any of my programs :D
Bryce.
hey, if you're offering free beer (or more) to the participants, that's fine by me. Fuzzy logic FTW!
I dunno Gryzor, you can have many single line routines going on, and it could produce a demo of sorts, with running and even playable segments, one liner programs that go on to the next when a key is pressed or something.
Give me some time and I'll come up with something.
Yeah, but that would be just a collection of one-liners, not a program.
but it would be a program, are not programs collections of many routines?
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
NOW you're talking :D
Quote from: EgoTrip on 19:13, 22 December 12
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
50 SOUND 57,284,200,15:SOUND 58,225,400,15:SOUND 60,190,400,15
Oh wow.
Ingenuity can be found in simple things. Everybody can do it complex 8)
Quote from: BryceQuote from: Gryzor on Yesterday at 16:53:26Oh wow.
You're easily impressed. 
Bryce.
But... it bleeps! It burps!
Quote from: FindYWay on 12:57, 08 January 13
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
50 SOUND 57,284,200,15:SOUND 58,225,400,15:SOUND 60,190,400,15
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
50 SOUND 57,284,200,15:SOUND 58,225,400,15:SOUND 60,190,400,15
70 CALL GIRL
Quote from: TFM/FS on 22:49, 09 January 13
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
50 SOUND 57,284,200,15:SOUND 58,225,400,15:SOUND 60,190,400,15
70 CALL GIRL
10 MODE 0
20 SOUND 1,478,200,15:SOUND 2,440,200,15
30 SYMBOL AFTER 32
40 BORDER 7:INK 0,7:INK 1,26:PRINT" THE CPCWIKI":PRINT" BASIC MEGA DEMO"
50 SOUND 57,284,200,15:SOUND 58,225,400,15:SOUND 60,190,400,15
60 POKE 0,&C9
70 CALL GIRL
Quote from: Bryce on 18:49, 22 December 12
You've obviously never seen any of my programs :D
Bryce.
Is that a cry for help? :)
My programs are beyond help. It's usually the programmer who sees them that cries :D
Bryce.
Last time I programmed (.net ftw!) it took me some 20K for a really simple CLI thingy. Apparently I rediscovered a few routines on the way, and then a friend did it in 2KB. But it was a nice experience. I revisited it a couple of years later (a month ago!) and *I* cried.
Quote from: Gryzor on 21:33, 09 June 13
Last time I programmed (.net ftw!) it took me some 20K for a really simple CLI thingy. Apparently I rediscovered a few routines on the way, and then a friend did it in 2KB. But it was a nice experience. I revisited it a couple of years later (a month ago!) and *I* cried.
Kind of feel the same way taking some 10-Liner and making it a 8k program out of it. Though that's what happens when you've got an 6k Library file strapped to it. :D