Shrow
Can't assign a method to a list, is there a way to get a list to execute code?
We have drifted yes! That's okay I appreciate the share of knowledge regardless, I do have to mosey now. I have company that's expecting but we can talk later I'd love to hear about it!
144 replies
Can't assign a method to a list, is there a way to get a list to execute code?
Something like, if I save
x = 2;
y = 4;
z = 2+4;
As a notepad file
Then I would like to have a program be able to open a file and read the file and not print it into a string but rather executing the code and then printing z. I haven't found a tutorial that teaches that although i don't think it's nessesary for the game any way it would nice to know I suppose.144 replies
Can't assign a method to a list, is there a way to get a list to execute code?
I'l will search that up, games typical keeps lots of data on files so it would be nice to write a program able to generate files, read files, write files and execute code from files.
144 replies
Can't assign a method to a list, is there a way to get a list to execute code?
Like one tutorial teaches how to create a text file and hoe to have print a dog and then have overwrite the file and rpint a different accii dog. But I need to learn how i can make those files into something more useful rather then just printing text.
144 replies
Can't assign a method to a list, is there a way to get a list to execute code?
I very much appreciate the help with it all. I probably will need more help in the future but it will hopefully be for something entirely different. Trying to learn code on my own through the internet is proving to be very difficult as learning sites and programs aren't as good as they look from the outside.
144 replies
Can't assign a method to a list, is there a way to get a list to execute code?
That would be great. This first game I'm developing I'm planning on keeping it simple for now, but the next game I have already planned out will have have stuff like furniture that can take damage.
144 replies