Hey, I'm trying to learn BASIC by writing a text-based game. Where I'm at now is trying to figure out how to do the inventory. Now, I was thinking that, whenever someone picks up, say, a gun, then it writes that to a file. How do I do that, though? I tried using the "open...append" and then "Write" commands to write to the file whenever someone picked it up, but then how do I get the program to go back and check that? I also tried to use the "open...binary" command to write to the file in binary, but that didn't work out well. Any ideas? Can I do an inventory without opening another file?
0 · ·