On Tue, Apr 25, 2006 at 02:21:07PM -0400, Charles E Campbell Jr wrote:
Hello!
I know this is a late date, but I think it would be helpful if
for var in list
...
endfor
would complete with var= . For example where this might come in handy:
for home in split(rtp
James Vega wrote:
On Tue, Apr 25, 2006 at 02:21:07PM -0400, Charles E Campbell Jr wrote:
I know this is a late date, but I think it would be helpful if
for var in list
...
endfor
would complete with var= . For example where this might come in handy:
for home in split(rtp
Charles Campbell wrote:
I know this is a late date, but I think it would be helpful if
for var in list
...
endfor
would complete with var= . For example where this might come in handy:
for home in split(rtp,',')
if isdirectory(home) | break | endif
endfor
So
Bram Moolenaar wrote:
Charles Campbell wrote:
I know this is a late date, but I think it would be helpful if
for var in list
...
endfor
would complete with var= ...
This for loop is like it is in Python, and it has proven to be very
useful.
It's easy to add something
On Tue, Apr 25, 2006 at 10:32:35PM +0200, Bram Moolenaar wrote:
This for loop is like it is in Python, and it has proven to be very
useful.
It's easy to add something to the list if you want to loop over more
things. E.g.:
for home in split(rtp,',') + ['']
if