Write variable from other function

Ali Çehreli acehreli at yahoo.com
Fri Feb 28 14:42:52 PST 2014


On 02/28/2014 06:42 AM, Dicebot wrote:

 > You want static variables, either in form of global variables
 > (discouraged) or static class fields:

Luckily, there is no global namespace in D. So, when it makes sense 
module-level global variables are fine as well.

Ali



More information about the Digitalmars-d-learn mailing list