WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Compiler
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Compiler Removes Remarks in WB Scripts

Keywords:     remarks

Question:

Are remarks like ; also compiled, or does the compiler ignore them?

Sometimes when 64 kb is reached, it would be useful for the compiler to ignore it.

Answer:

Compiler does remove remarks if they are at the beginning of the line.

This is useful. For example, our setup program is 95K uncompiled, and it compiles down to about 58K.

The compiler can ignore single line comments and leading and trailing spaces. But it keep the comments at the end of a line as it is a parsing nightmare, especially with substitution.

The algorithm to remove comments on the end of the line is very difficult.


Article ID:   W12777
Filename:   Compiler Removes Remarks.txt
File Created: 1999:04:15:16:49:34
Last Updated: 1999:04:15:16:49:34