An Introduction To Embedded Tk (page 24 of 32)

[Previous Page][Next Page][Table of Contents]

11.3 Turning Off Script Compression In The Preprocessor

The et2c preprocessor attempts to save memory and improve performance of your application by removing comments and unnecessary spaces from the Tcl/Tk code inside ET() functions and loaded by ET_INCLUDE() statements. This mechanism works well most of the time, but it is not foolproof. It is theoretically possible for a valid Tcl/Tk script to be corrupted by et2c's compression attempts. If you experience trouble, and suspect that et2c is messing up your Tcl/Tk code, then you can turn script compression off using the -nocompress command line option.

[Next Page][Table of Contents]