Forum Discussion
FICO
2 years agoCommunity Manager
I have an array where in I create a copy of that array in a local variable array , while changing the elements of local variable array it changes the main element of array . It is getting pass by refe
2 Replies
- FICOCommunity Manager
Create a loop to go through and assign each item to the array by value.
Assuming array a with the values you want to copy
b is some array of (whatever type) initially an array of (whatever type).
index is an integer initially 0.
while index < a.count do
{
b[index] = a[index];
increment index by 1;
}
- FICOCommunity Manager
@Tom Travis ; Well ! we have used User Vars array , we assign our Array A to userVars ,
which helped us to resolve the problem of overwriting the main Array A ,
BTW will implement your logic as well ,
Thanks
Suraj Kumar Jha(IDFC FIRST BANK)
Related Content
Related Content
In PLOR Designing, while adding variables in groups for log task element, getting the internal server error for saving the subprocess.
Code: PLOR-Process-Validation-62059 Description: Error while saving subprocess. Code: PLOR-Process-Platform-1001 Description: Internal server error.2Views0likes2Comments
