Hi, simple question but maybe with an advanced answer:
How do I get Dev-Pascal to read other files?
Example
I've tried to make a variable and make it as a text for example (var test:text;) and then assign(text,'textfile.txt'); but then I want pascal to read it and open it in the console and print out the text on the screen.
This is not the only thing I wanted to test. I want to try to make other files like pictures, textfiles and all to be opened by pressing on the exe file. Like everytime i press that *exe file all the files I've written in it will be opened.
Dunno if it works, just asking, and hopefully getting ansers. :)