Jan-17-2020, 08:32 PM
I've been googling this problem for a while now and nothing seems to work.
Here's my problem:
I have variables in 4 different files. I want these variables to be read by my main file. I started programming today, so I thought a simple text based combat sim would be something nice to start off with.
In one file I put variables for my character. In another I put variables for an enemy. And so on.
In the main file I would like to call all these variables into play to make the fight calculations.
So, what exactly do I have to type in to get these other files into play?
Here's my problem:
I have variables in 4 different files. I want these variables to be read by my main file. I started programming today, so I thought a simple text based combat sim would be something nice to start off with.
In one file I put variables for my character. In another I put variables for an enemy. And so on.
In the main file I would like to call all these variables into play to make the fight calculations.
So, what exactly do I have to type in to get these other files into play?