I am writing a 3D-isometric turn-based strategy game in VB5 and I am having trouble writing and reading to and from files. When I have one section done I can change it to the rest but I can't get started. The file would compromise of People Data, for each person there are attributes assigned to them:
Military Potential (Integer)
Economic Potential (Integer)
Political Potential (Integer)
When the program gets the information, it sends the ID number to the file and I want the attributes assigned with that ID back and into variables. I have messed around with the Get and Put statements but alas; no luck. The data file would also need to be written from a separate file, not available to the end user but so that it is easier to put the 500+ people in.
Any ideas? Please reply here or email me: email@example.com. I can’t pay in money for advice but will repay in your problems if necessary.