News for hackers. Stuff that matters.
Re:Black Annex: A QBasic Game for the 21st Century (2013) by googamooga on Tuesday October 10, 2017 @04:39PM (#15445135)
Here is the code:

http://www.qb64.net/forum/index.php?topic=12348.0

Though it won’t compile with ordinary QB compiler.

Re:Black Annex: A QBasic Game for the 21st Century (2013) by jacobparker on Tuesday October 10, 2017 @08:16PM (#15446313)

  $ curl -s https://gist.githubusercontent.com/anonymous/8fdec5275b2c3e81e1e1/raw/blannex | wc -l
  23708
Impressive. I wonder if it's edited as a single file.
Re:Black Annex: A QBasic Game for the 21st Century (2013) by copx on Wednesday October 11, 2017 @12:03AM (#15447193)
In QBASIC/QuickBASIC the IDE is not file-based. By default it only shows the content of the current sub routine, as opposed to the content of a file.

If you want to look at / edit a different subroutine you open the sub routine selection dialog and select the one you want which then becomes the currently displayed one.

In the same way, if you want to add a new subroutine to the program you open the subroutine creation dialog, give it a name and then the IDE automatically makes the newly created subroutine the currently displayed one. I.e. you are only ever looking at one subroutine at a time.

Screenshot of the subroutine selection dialog: http://synapticnulship.com/blog/wp-content/uploads/2011/01/q...

Sounds limiting to programmers used to modern IDEs where you usually look at multiple functions at once, but I remember it fondly. There is something to be said for completely focusing on one sub routine at a time and for the IDE presenting your program that way, while everything is actually stored in one big file.

Re:Black Annex: A QBasic Game for the 21st Century (2013) by jacobparker on Friday October 20, 2017 @08:33AM (#15515231)
Wow, I don't remember that part at all (I was really young when I used it.) Thanks.