Array logic
Hi Team,
I need to accomplish the below logic, but as we don't have array concept, could any one please help me in accomplishing the below logic by any way.
BF1= Blank
BF2=X
BF3= Blank
BF4=X
BF5= Blank
BF6=X
BF7= Blank
BF8=X
BF9= Blank
BF10=X
BF11= Blank
BF12=X
BF13= Blank
BF14=X
K=1
i = any numeric value eg.5
While K not equal to 0
{
If (BF[i]==X)
{
then New BFPeriod=i
k=0
}
End If
If ADAR =A
{
i=i+1
}
else
{
i=i-1
}
End wile
Thanks & regards,
Terry