There's no code that changes Where.We.Left.Off in your example.  You
initialize it, but never change it...



On 1/26/2011 12:25 PM, Bill Brutzman wrote:
> When I try do something like the following, inside the loop, UV keeps 
> resetting Where.We.Left.Off to "1".
> To solve this, I am expecting to invoke brute force.  I am surprised that 
> UV-Basic behaves this way.
> An explanation would be appreciated.
> 
> --Bill
> 
> Where.We.Left.Off = 1
> 
> for Blanket.PO.Count = 1 to Total.Nbr.PO.Releases
> 
>   read R.POD from F.POD...
>   PO.Qty = R.POD, Blanket.PO.Count>
> 
>   for Receiver.Count = Where.We.Left.Off to Total.Nbr.Receivers
> 
>    read R.Rcvr from F.Rcvr...
>                                          Received.Qty = R.Rcvr<Receiver.Count>
>                Received.Running.Total += Received.Qty
>     begin case
> case Received.Running.Total > PO.Line.Item.Qty  ;  crt PO.Qty : '  ' : 
> Received.Qty
>                                                    Receeived.Running.Total = 0
>                                                                               
>              exit
>     end   case
> 
>   next Receiver.Count
> 
> next Blanket.PO.Count
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to