I have a my C#-library (for example "MyClass"), where, is available is such subs:
from B4PPC, I try to change the variable:
Messagebox always shows "TEST", but not "7".
For example, variable K - is very big string and it need to change its without copying of its value.
How it can be implemented?
B4X:
public void Test(out string S)
{
S = "7";
}
public void Test2(ref string S)
{
S = "7";
}
from B4PPC, I try to change the variable:
B4X:
K = "TEST"
MyClass.Test(K)
MyClass.Test2(K)
MsgBox(K)
For example, variable K - is very big string and it need to change its without copying of its value.
How it can be implemented?