Although the materials all say that it can read things from files, there are no examples. Now I have a text file with only one number. I want to read it out and assign it to a variable. How to do it? I tried set var=<a.txt, which doesn't work. Hope to get some ideas or materials!


