Write variable from other function

Suliman evermind at live.ru
Fri Feb 28 06:15:16 PST 2014


I continue attempted to become a programmer, but I have small 
problem. I can't understand how to write/change variable from one 
function by code in another.
http://www.everfall.com/paste/id.php?nqq61th5loq3

writeln(configpath);  // I need write this one! <-- this string

I remember (if I now mistake) that there is way to get access to 
vars from other class in way like MyClass2.var = 2 but probably I 
am wrong


More information about the Digitalmars-d-learn mailing list