For Question
Posted: 24 May 2011 16:19
I have a question about the for command and depending on how deep it goes why does it require to be closed off differently.
Example 1 Structure Works:
...but if I try to close it all off on separate lines it requires six more braces
Example 2 Structure Works:
Example 3 Structure Does Not Work:
Example 1 Structure Works:
Code: Select all
for
call
for
if
call
for
for
if
echo.
del
del
) else (
echo.
del
del
))))))
...but if I try to close it all off on separate lines it requires six more braces
Example 2 Structure Works:
Code: Select all
for
call
for
if
call
for
for
if
echo.
del
del
) else (
echo.
del
del
)
)
)
)
)
)
)
)
)
)
)
)
Example 3 Structure Does Not Work:
Code: Select all
for
call
for
if
call
for
for
if
echo.
del
del
) else (
echo.
del
del
)
)
)
)
)
)