Hi,

I can not find (manual, list-archiv, google) how to use boolean
operators (and, or) in script.

I prefer this:
if i>500 and i<1000

One working solution:

normal G
let numberofrows = line(".")
normal gg
let i = 1
while i<=numberofrows
   if i>500
       if i<1000
           " do something
       endif
   endif
   let i += 1
endwhile

Any other way?

Thanks,
Aruna

Reply via email to