You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Value is not getting reassigned in For each

Received Response
1
Views
1
Comments

Summary: Value is not getting reassigned in For each


Content (required): I am reading a file using Read File in Segments and using a for each to iterate the records of Read File in Segments. During for each, I am assigning the current record of For each to a variable called 'recent'. My expectation is for each iteration the value of variable recent should get updated.

If suppose i have 3 values say abc,def and ghi in my file. So for 1st iteration variable recent should have abc and for last iteration it should be ghi. But for all the iterations the value is set to abc and is never changed. Can someone please help me on the same

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!