Maybe I something in the documentation, Ive noticed in my applications that that when I call a Sub routine the "variables" that are passed are a reference to the variable. WHich is the default for VB6 as well.
My question is, how to I pass a copy of the variable? The ByVal would achive this in VB6 but doesnt seem to be recognised in B4A.
Lastly are there any restrictions around passing arrays and custom types using the equivalant of ByVal in B4A?
Thanks
My question is, how to I pass a copy of the variable? The ByVal would achive this in VB6 but doesnt seem to be recognised in B4A.
Lastly are there any restrictions around passing arrays and custom types using the equivalant of ByVal in B4A?
Thanks