View Single Post
  #2   (View Single Post)  
Old 22nd June 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

MSX2-BASIC + MSX-DOS (Philips edition) by A. Sickler and A. van Utteren.
It's a 1986 Dutch book about, well, MSX BASIC ... I still have it ... Here's a picture:
http://www.clive.nl/detail/12515/
And my dad is (was) a hobbyist MSX programmer, so he though me a thing or two too.

The first program I wrote was with my dad, it sorted a file alphabetically, it was slow, crappy, and didn't prove very useful in the end.
But it was mine, and it was fun.

It was a terrible programming language, major spaghetti code ... A little example:
Code:
10 PRINT "Hello world!"
20 FOR i=0 TO 500
30 GOTO 10
There are no subroutines/functions (QBasic, which was pretty similar, did have this) and you had to identify chunks of code by the line numbers (which were automatically printed with the AUTO command) and GOTO them...
And you had to PRAY that you never needed to insert more than 9 lines of code between two other lines, because this would require starting a new "subroutine" at line 50000 or something and a GOTO.

There was also no Syntax highlighting or indentation...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote