[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Breaking out of a foreach loop
From: |
Bhatt, Milan C |
Subject: |
Breaking out of a foreach loop |
Date: |
Fri, 27 Feb 2004 14:45:34 -0800 |
Hi
Guys,
I just had a quick question
on whether there was any way to break out of a foreach loop when a certain
condition has been reached.
I'd like to do the
following:
$(foreach dir, $(DIRS),
\
$(if <condition>, <statement>;
\
<break_out_of_loop>) )
I wasn't able to find
anything in the documentation that provided this kind of
functionality.
Thanks,
Milan
- Breaking out of a foreach loop,
Bhatt, Milan C <=