I need to write to a file name depending on a couple of variables and I'm having a hard time doing it. I got several different errors but couldn't find an answer anywhere in my books or the web on how it could be solved.
I'm using the following code and it works fine, but when I try to use the variables to use in the creation for the file and than it all goes wrong:
NOT WORKING ONE:
somevar = 1;
yetanothervar = 3;
address = "C:/Users/rodrigo/Desktop/"+somevar+yetanothervar+".txt";
Any help would be much apreciated.