s.surf.idw
Michael Shapiro
shapiro at zorro.cecer.army.mil
Mon Mar 23 20:24:38 EST 1992
A continue doesn't jump out of an "if". It continues a "for" or
"while" or "do" loop The only way out of an "if", other than to
reach the end of the "if" block, is a "goto".
for(...;...;...)
{
if(...)
{
...
continue /* this is equivalent to "goto A" */
}
... /* this executes only when the above "if" is false */
A: }
-----------------------------------------------------------------
Michael Shapiro U.S. Army CERL
email: shapiro at zorro.cecer.army.mil Environmental Division
phone: (217) 352-6511 ext 526 P.O. Box 9005
fax: (217) 373-7222 Champaign, Ill. 61826-9005
-----------------------------------------------------------------
More information about the grass-user
mailing list