Global variable definition from a function?

creation of global variable from a function , with keyword like global. is there any plan to add such a feature?
4 Replies
roopesh puthalath
roopesh puthalathOP15mo ago
@Jack Clayton Could you please reply to this
Jack Clayton
Jack Clayton15mo ago
Hey yeah eventually, it's supported by Python, and I remember some discussion about how to express the lifetimes
roopesh puthalath
roopesh puthalathOP15mo ago
@Jack Clayton i think mojo does not support this yet.
Jack Clayton
Jack Clayton15mo ago
Not yet no
Want results from more Discord servers?
Add your server