Wednesday, January 31, 2007

20 PRINT "MARCUS' PROGRAMMING TIPS"

Hello Ulbster journal readers, yes I am back. Mr. Anarchy may have departed this space, however timelord Tony has assured me that I am definately part of his plans for the future of this journal. In fact I have been promoted to second in command, although I'm not supposed to reveal that yet, so keep it under your hats for now.

Incidentally I also hear that Aaron has been sacked too! (although I can't say 100% for certain on that one, just office rumours, you know things you hear when you are chatting by the water cooler).

Anyway I'm here to explain about programming computers, so lets get on with it. Basically there are two types of programming languages, crap ones like C64 basic and cool ones like BBC BASIC 32K. As you can probably deduce I fall into the latter category. The cool thing about BBC BASIC 32K is that you have mode 7 - which the Acorn Electron never had I might add.

Using extremely advanced programming techniques such as 'spagetthi code' written with extensive use of the extremely powerful GOTO commands I have written many amazing programs such as 'Face Invaders'.

Anyway here is my latest program. What do this think of this?


10 MODE 0
20 PRINT"MARCUS PROGRAMMING TIPS"
30 PRINT"Enter a zero to start afresh"'
40 PRINT"Press 'Enter' after each entry"TAB(40)"Use a minus sign for subtraction"
50 PRINT'TAB(15)"entry"TAB(35)"TOTAL"'
60 GOTO 30


Pretty neat huh? Why not try typing it in and see what will happen. Can you guess what will happen? Remember to type RUN.

see you next time.

Marcus

3 comments:

Anonymous said...

My school had an old BBC master. I set this loop up one lunchtime, just to be awkward

10 BEEP
20 PRINT "THE MATRIX HAS YOU"
30 GOTO 10

It drove everyone nuts until someone had the sense to kill the power.

Anonymous said...

Nice one Matt, At school I used to type something like,

sound 1,-15,255,255
cls

I can't remember exactly how it was but the result was a barley audible and really annoying high pitched tone that went continuously.

hehehe

Anonymous said...

in playing 'the Hobbit' I could never get the f******n butler in the b******y barrel. arse!