I need to iterate a variable to implement certain features in my RPE template. The problem I am encountering is that The variable does not increment as intended. instead the variable takes on some funny values. I assign it a value of zero initially. Then The value is incremented every time two other variables are equal. I found that I was doing this incorrectly initially because RPE treated the addition of X = X + 1 as a text concatenation rather than a mathematical addition. One of the threads on the forum mentioned that a multiplication operation in the assignment statement should get RPE to view the statement as a mathematical operation. The assignment statement is X = X*1+1. I attached the RPE template to this post. The variable that I need to increment is called Bookmarks in the template and it should be incremented in the fifth container counting from the top. I print its value in the very last row of the table (it is the last element in the template)
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
3 replies Latest Post - 2012-12-10T14:20:39Z by SystemAdmin
Pinned topic Using an RPE variable as an Iterator
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-10T14:20:39Z at 2012-12-10T14:20:39Z by SystemAdmin
jnation 270004HHKK6 Posts