- Mar
- 42
- 1
It seems to be convenient to have the possibility to comment the ELSE and ENDIFF on the same line:
iff "%a" == "s1" then
***
iff isdir "%b" then
***
else %b
***
endiff %b
***
else %a
***
iff %c LE 7 then
***
else %c
***
endiff %c
***
endiff %a
The idea is to make the TCC accepting and ignoring the "parameters" of the ELSE and ENDIFF clauses. Now such commenting requires a combination of the 'command separator symbol' with the REM command, which seems ugly and increases the file's size.
iff "%a" == "s1" then
***
iff isdir "%b" then
***
else %b
***
endiff %b
***
else %a
***
iff %c LE 7 then
***
else %c
***
endiff %c
***
endiff %a
The idea is to make the TCC accepting and ignoring the "parameters" of the ELSE and ENDIFF clauses. Now such commenting requires a combination of the 'command separator symbol' with the REM command, which seems ugly and increases the file's size.
Last edited: