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,',')
 if isdirectory(home) | break | endif
endfor

So, if the loop was unsuccessful, then "home" would be an empty. If its successful, home is set to something useful. Easy to test without extra clutter such as test variables.

Regards,
Chip Campbell


Reply via email to