Re: [Clip] Integer compares
> edmenard wrote:Edmenard,
> ^!if ^%intgr% < 11 loop
> Thanks to all who responded. Removing the "then" completely fixed the
> trouble. There is no "then" in the documentation for the "if", just
> too many years of programming too many different things. Seemed like
> there should have been "then" and my fingers/brain inserted it.
> The missing %'s for %intgr% was a typo when I prepared this example
> (from a larger project). Oddly, it does not seem to cause a problem.
> Thanks again!
True, the missing percent doesn't seem to make a difference in this
case, but the protocol calls for them and in a more complex script it
may produce unexplained results.