Either way you want a "bail out" option. Mike doesn't like DO WHILE, and I
prefer not to EXIT or manually tweak a counter in a FOR NEXT. To each their
own.


On Fri, Jul 19, 2013 at 3:38 PM, Vincent Teachout <[email protected]>wrote:

> Don't both of you mean:
>
> for nI = 1 to lnMaxIterations
>         ...process..
> endfor
>
> ?  :-)
>
>
> Mike Copeland wrote:
>
>> Well sure, if you want efficient code...but...well...uh... :-)
>>
>> Thanks Ted!
>>
>> Mike
>>
>
>  Do While .t.
>>>>      lnCounter=lnCounter + 1
>>>>      * if we have reached our max try count, bail
>>>>      if lnCounter >= lnMaxIterations
>>>>          exit
>>>>      endif
>>>> endd
>>>>
>>>>
>>>>
>>>  Do you mean:
>>>>
>>>>    Do While lnCounter < lnMaxIterations
>>>     ... process ...
>>>      lnCounter=lnCounter + 1
>>> enddo
>>>
>>
>>
>
> ______________________________**_________________
> Post Messages to: [email protected]
> Subscription Maintenance: 
> http://mail.leafe.com/mailman/**listinfo/profox<http://mail.leafe.com/mailman/listinfo/profox>
> OT-free version of this list: http://mail.leafe.com/mailman/**
> listinfo/profoxtech <http://mail.leafe.com/mailman/listinfo/profoxtech>
> Searchable Archive: 
> http://leafe.com/archives/**search/profox<http://leafe.com/archives/search/profox>
> This message: http://leafe.com/archives/**byMID/profox/51E9959B.6020909@**
> taconic.net<http://leafe.com/archives/byMID/profox/[email protected]>
>
> ** All postings, unless explicitly stated otherwise, are the opinions of
> the author, and do not constitute legal or medical advice. This statement
> is added to the messages for those lawyers who are too stupid to see the
> obvious.
>
> Report [OT] Abuse: http://leafe.com/reportAbuse/**
> [email protected]<http://leafe.com/reportAbuse/[email protected]>
>



-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cacw6n4v6fag4vndb6r3vxzbtkkvheftbojxnadnsydjotmr...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to