Deftioon
Deftioon
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
:D makes a lot of sense
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
Ah, okay. Thanks
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
Alright, thanks for the help. Would you happen to know how I could achieve the desired behaviour?
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
should q1 = 1 be allowed or is it reassigning the variable
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
also, i tried
fn main() raises -> None:
var mylist = MyList()
mylist.append(0)
var q1 = mylist[0]
print(q1)
q1 = 1
print(q1)
print(mylist[0])
fn main() raises -> None:
var mylist = MyList()
mylist.append(0)
var q1 = mylist[0]
print(q1)
q1 = 1
print(q1)
print(mylist[0])
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
Mhm mhm
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
👌
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
I see, should I file an issue?
34 replies
MModular
Created by Deftioon on 1/11/2025 in #questions
Is there a way to reflect changes to a variable in the reference?
😨
34 replies