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 puthalathOP14mo ago
@Jack Clayton Could you please reply to this
Jack Clayton
Jack Clayton14mo ago
Hey yeah eventually, it's supported by Python, and I remember some discussion about how to express the lifetimes
roopesh puthalath
roopesh puthalathOP14mo ago
@Jack Clayton i think mojo does not support this yet.
Jack Clayton
Jack Clayton14mo ago
Not yet no
Want results from more Discord servers?
Add your server