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