This is fantastic. I just started to come back here, looking around again thinking of some ideas. Network support is really cool.
I don't know if you remember, but way back I was asking about a feature where you could call a subroutine with a variable. Something like:
$string = 'area1'
This could have been implemented but I never heard about it.
My goal in requesting this was to be able to have a whole bunch of data, and be able to dynamically load it. This would be especially useful for games where there are different areas you could move into, but make it so they don't need to hard code it. In short, you could have the core of the game written, but just change the Data in the program and you've got yourself a whole new area.
What I had in mind was for a text based RPG type game, where each room was defined by Data. You could then call something like
roomx = 5 roomy = 4
# Currently in room 5, 4 on the grid # player moves to the room to the left
roomx = roomx - 1
string$ = 'Room' + roomx + 'Room' + roomy
# This Gosubs to Room4Room4
I can't think of any other way to do this without sort of hard coding the data. Any thoughts on this?