• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Your first computer program

programming a firework on an Acorn Electron.

Well I say firework I mean 2 coloured oblong sprite with some diamond sprites shooting out of it and making a sort of strangeled beep from the 8 bit sound generator.

then a flight simulator - which I copied from the magasine called 'Basic' came in about 6 different parts over 6 months and when finished consisted of a line for a horizon, a few triangles for mountains and I think an airport to land on but cannot be sure.
 
A 2d shooting game on an AppleII using Pascal, how I wish i switched to C early on.
Pascal seemed so elegant but I stuck to it for way too long through the Delphi days and I still know crap about low-level programming.
 
I don't remember the syntax or even if I would really call it a program but I am pretty sure it would have been in EXEC or EXEC2.

Then some twaddle in FOCUS, then probably REXX.
Then probably a tulip menu system in a DOS autoexec.bat file and some Lotus 123 macros.

We didn't have computers at my school so my first use of IT was in the real world and that was pretty varied. IBM VM/SP, various PCs and the odd abacus.
 
Matrix multiplication in BASIC on the school's DEC PDP-8/e minicomputer. Started out with 2×2 matrices, eventually extended it to arbitrary dimensions. It even gave you an appropriate message if you tried to specify dimensions that couldn't be multiplied, such as multiplying a 3×2 by a 4×4. Never checked to see what would happen if the output was too wide for the Teletype though :)

I only wrote it because we were doing matrices in maths at the time, and I couldn't think of anything else to do. I was pleased a number of years later, when we had computers capable of graphics, to discover that matrices actually had a fun application :happy
 
It was a clown, that you could make smile or cry using the s or c keys, written in spectrum basic on the 16kb. I was about 5 or 6 years old. :nerd
 
Something banal in BASIC. I neither remember nor care what it was and I'd guess no-one else on here would care either. :smile

However, I'd be mildly interested to know what threaded's first program was.
 

Advertisers

Back
Top